summaryrefslogtreecommitdiff
path: root/queries/vim
diff options
context:
space:
mode:
Diffstat (limited to 'queries/vim')
-rw-r--r--queries/vim/highlights.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/queries/vim/highlights.scm b/queries/vim/highlights.scm
index 5f5f6cd0..f7b95583 100644
--- a/queries/vim/highlights.scm
+++ b/queries/vim/highlights.scm
@@ -57,8 +57,18 @@
"perl"
"python"
] @keyword
+(map_statement cmd: _ @keyword)
(command_name) @function.macro
+[
+ "<buffer>"
+ "<nowait>"
+ "<silent>"
+ "<script>"
+ "<expr>"
+ "<unique>"
+] @constant.builtin
+
(au_event) @constant
(normal_statement (commands) @constant)