fix(vimscript): miscellaneous fixups

- Highlights the `abort` keyword
- Moves `is(not)?` from `@operator` to `@keyword.operator`
- Highlights the `->` operator
This commit is contained in:
Riley Bruins 2024-04-19 09:00:11 -07:00 committed by Christian Clason
parent fea5808a58
commit bc80862298

View file

@ -126,6 +126,7 @@
"view"
"eval"
"sign"
"abort"
] @keyword
(map_statement
@ -277,8 +278,6 @@
"/"
"%"
".."
"is"
"isnot"
"=="
"!="
">"
@ -297,9 +296,15 @@
"..="
"<<"
"=<<"
"->"
(match_case)
] @operator
[
"is"
"isnot"
] @keyword.operator
; Some characters have different meanings based on the context
(unary_operation
"!" @operator)