feat(viml): update queries

This commit is contained in:
Christian Clason 2022-10-15 10:54:43 +02:00 committed by Christian Clason
parent 325de255a6
commit 9c3a1366bc

View file

@ -67,6 +67,8 @@
"augroup"
"return"
"syntax"
"filetype"
"source"
"lua"
"ruby"
"perl"
@ -102,6 +104,16 @@
(map_statement cmd: _ @keyword)
(command_name) @function.macro
;; Filetype command
(filetype_statement [
"detect"
"plugin"
"indent"
"on"
"off"
] @keyword)
;; Syntax command
(syntax_statement (keyword) @string)
@ -176,7 +188,6 @@
;; Literals
(string_literal) @string
(string_literal) @spell
(integer_literal) @number
(float_literal) @float
(comment) @comment @spell