hare.vim

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

commit 6c070abe9d47b4856b6d864fd92f74f7c880d46f
parent 2500e389a8be4953a7618a531c6cd94bb2cd794c
Author: Sebastian LaVine <mail@smlavine.com>
Date:   Wed, 11 May 2022 11:41:41 -0400

Don't highlight hareSpaceError when in inert mode

It is annoying when typing a line, and every space you type is
highlighted red because it is the last character on the line so far.

Signed-off-by: Sebastian LaVine <mail@smlavine.com>

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

diff --git a/syntax/hare.vim b/syntax/hare.vim @@ -74,5 +74,9 @@ 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 +autocmd InsertEnter * hi link hareSpaceError NONE +autocmd InsertLeave * hi link hareSpaceError Error + " vim: tabstop=8 shiftwidth=2 expandtab