aboutsummaryrefslogtreecommitdiffstats
path: root/queries/vim
diff options
context:
space:
mode:
Diffstat (limited to 'queries/vim')
-rw-r--r--queries/vim/highlights.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/queries/vim/highlights.scm b/queries/vim/highlights.scm
index 210705597..7bd481925 100644
--- a/queries/vim/highlights.scm
+++ b/queries/vim/highlights.scm
@@ -72,6 +72,7 @@
"perl"
"python"
"highlight"
+ "command"
"delcommand"
"comclear"
"colorscheme"
@@ -80,6 +81,16 @@
"global"
"runtime"
"wincmd"
+ "cnext"
+ "cprevious"
+ "cNext"
+ "vertical"
+ "leftabove"
+ "aboveleft"
+ "rightbelow"
+ "belowright"
+ "topleft"
+ "botright"
] @keyword
(map_statement cmd: _ @keyword)
[
@@ -134,6 +145,13 @@
"clear"
] @keyword)
+;; Command command
+
+(command_attribute name: _ @property)
+(command_attribute
+ val: (behavior
+ (identifier)? @function) @constant)
+
;; Runtime command
(runtime_statement (where) @keyword.operator)