hare.vim

[vim] Hare vim plugin
git clone https://git.torresjrjr.com/hare.vim.git
Log | Files | Refs | README | LICENSE

commit 2e90dea8ccd20aa7622e68171c14826a157208df
parent 34252f9d95f1235001ac0a05d5b7210d0bb518e4
Author: Armin Preiml <apreiml@strohwolke.at>
Date:   Mon, 20 Dec 2021 09:05:55 +0100

mark trailing spaces and spaces before tabs

Diffstat:
Msyntax/hare.vim | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/syntax/hare.vim b/syntax/hare.vim @@ -33,6 +33,9 @@ syn match hareFloat display contained "\d\+\(e[-+]\?\d\+\)\?\(f32\|f64\)" "floating point number, with dot, optional exponent syn match hareFloat display contained "\d\+\.\d\+\(e[-+]\?\d\+\)\?\(f32\|f64\)\?" +syn match hareSpaceError display excludenl "\s\+$" +syn match hareSpaceError display " \+\t"me=e-1 + syn keyword hareTodo contained TODO FIXME XXX syn region hareComment start="//" end="$" contains=hareTodo,@Spell @@ -68,4 +71,5 @@ hi def link harePreProc PreProc hi def link hareString String hi def link hareTodo Todo hi def link hareType Type +hi def link hareSpaceError Error " vim: tabstop=8