diff options
Diffstat (limited to 'runtime/queries/vim/highlights.scm')
-rw-r--r-- | runtime/queries/vim/highlights.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/queries/vim/highlights.scm b/runtime/queries/vim/highlights.scm index 2950278f9f..14e5a8128f 100644 --- a/runtime/queries/vim/highlights.scm +++ b/runtime/queries/vim/highlights.scm @@ -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) |