aboutsummaryrefslogtreecommitdiffstats
path: root/queries/vim
diff options
context:
space:
mode:
authorThomas Vigouroux <thomas.vigouroux@protonmail.com>2022-08-23 14:44:27 +0200
committerThomas Vigouroux <thomas.vigouroux@protonmail.com>2022-08-23 15:03:06 +0200
commit59f656a20375242948755e860fabe3944968cbc0 (patch)
tree5062c7fcdb44951bb04048c8674fe2ef7314a48d /queries/vim
parentfeat(vim): update to latest highlights (diff)
downloadnvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar
nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.gz
nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.bz2
nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.lz
nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.xz
nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.tar.zst
nvim-treesitter-59f656a20375242948755e860fabe3944968cbc0.zip
chore(vim): update parser and highlights
Adds support for map_bar. Correctly highlight unknown builtin commands.
Diffstat (limited to 'queries/vim')
-rw-r--r--queries/vim/highlights.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/queries/vim/highlights.scm b/queries/vim/highlights.scm
index 7bd481925..1951f341e 100644
--- a/queries/vim/highlights.scm
+++ b/queries/vim/highlights.scm
@@ -91,12 +91,10 @@
"belowright"
"topleft"
"botright"
+ (unknown_command_name)
] @keyword
(map_statement cmd: _ @keyword)
-[
- (command_name)
- (unknown_command_name)
-]@function.macro
+(command_name) @function.macro
;; Syntax command