~sircmpwn/hare-dev

hare.vim: Don't highlight hareSpaceError when in inert mode v1 APPLIED

Sebastian LaVine: 1
 Don't highlight hareSpaceError when in inert mode

 1 files changed, 4 insertions(+), 0 deletions(-)
Good catch. Pushed it properly.
Thanks!
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/hare-dev/patches/32181/mbox | git am -3
Learn more about email & git

[PATCH hare.vim] Don't highlight hareSpaceError when in inert mode Export this patch

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
Thanks!

To git@git.sr.ht:~sircmpwn/hare.vim
   7da3041..22e2b66  master -> master