aboutsummaryrefslogtreecommitdiffstats
path: root/queries/vim
diff options
context:
space:
mode:
authorThomas Vigouroux <thomas.vigouroux@protonmail.com>2022-08-23 14:17:55 +0200
committerThomas Vigouroux <thomas.vigouroux@protonmail.com>2022-08-23 14:28:36 +0200
commitea8d8bbef041bcb4130aaa66f4b29bd68160bbb0 (patch)
tree845c81661e6b419e365ebf629c6263925a04f3f7 /queries/vim
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-ea8d8bbef041bcb4130aaa66f4b29bd68160bbb0.tar
nvim-treesitter-ea8d8bbef041bcb4130aaa66f4b29bd68160bbb0.tar.gz
nvim-treesitter-ea8d8bbef041bcb4130aaa66f4b29bd68160bbb0.tar.bz2
nvim-treesitter-ea8d8bbef041bcb4130aaa66f4b29bd68160bbb0.tar.lz
nvim-treesitter-ea8d8bbef041bcb4130aaa66f4b29bd68160bbb0.tar.xz
nvim-treesitter-ea8d8bbef041bcb4130aaa66f4b29bd68160bbb0.tar.zst
nvim-treesitter-ea8d8bbef041bcb4130aaa66f4b29bd68160bbb0.zip
feat(vim): update to latest highlights
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)