aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-05-05 12:57:36 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-05-05 23:22:11 +0200
commit3d4eb9d544cbbe39544586890b5de83a48de3680 (patch)
treeacb9effe033f76350fe279049d59f52a6d419bca /runtime/queries/vim
parent97b7ddc376bfcca01a5fd9e6e20e424a0f45b4f3 (diff)
downloadrneovim-3d4eb9d544cbbe39544586890b5de83a48de3680.tar.gz
rneovim-3d4eb9d544cbbe39544586890b5de83a48de3680.tar.bz2
rneovim-3d4eb9d544cbbe39544586890b5de83a48de3680.zip
fix(treesitter): update queries
Diffstat (limited to 'runtime/queries/vim')
-rw-r--r--runtime/queries/vim/highlights.scm9
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)