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>
---
syntax/hare.vim | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/syntax/hare.vim b/syntax/hare.vim
index ad8cd3a..9c8c210 100644
--- 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
--
2.36.1
On Fri May 13, 2022 at 7:45 AM EDT, Drew DeVault wrote:
> Thanks!>> To git@git.sr.ht:~sircmpwn/hare.vim> 7da3041..22e2b66 master -> master
I don't think this applied correctly. The commit after 7da3041 is
b8ef2f7; two commits after that is 22e2b66("Correctly indent multiline
cases"), from the other Sebastian, <sebastian@sebsite.pw>.