commit adcf043b6923beffbae7aba6f4aad2d3ccbd2bd5
parent a31ea855866f6b0de9b0a32ff953eea9ed30ca56
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 21 Jun 2022 18:34:20 +0200
Revert "Highlight error assertions in red"
This reverts commit a31ea855866f6b0de9b0a32ff953eea9ed30ca56.
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/syntax/hare.vim b/syntax/hare.vim
@@ -13,7 +13,6 @@ syn keyword hareLabel case
syn keyword hareBuiltin len offset free alloc assert append abort delete insert
syn keyword hareBuiltin vastart vaarg vaend
syn keyword hareOperator is as
-syn match hareErrorAssertion "!"
syn match hareType "\v<size>((\_\s|//.*)*\()@!"
syn match hareBuiltin "\v<size>((\_\s|//.*)*\()@="
syn match harePreProc "^use .*;"
@@ -64,7 +63,6 @@ hi def link hareBranch Repeat
hi def link hareBuiltin Function
hi def link hareComment Comment
hi def link hareConditional Conditional
-hi def link hareError Error
hi def link hareFloat Number
hi def link hareKeyword Keyword
hi def link hareLabel Label
@@ -81,6 +79,4 @@ hi def link hareSpaceError Error
autocmd InsertEnter * hi link hareSpaceError NONE
autocmd InsertLeave * hi link hareSpaceError Error
-highlight hareErrorAssertion ctermfg=red cterm=bold
-
" vim: tabstop=8 shiftwidth=2 expandtab