feat(viml): update queries

This commit is contained in:
Christian Clason 2022-08-26 20:20:49 +02:00 committed by Christian Clason
parent e214652c28
commit 08e9b7cdf7

View file

@ -92,6 +92,12 @@
"topleft"
"botright"
(unknown_command_name)
"edit"
"enew"
"find"
"ex"
"visual"
"view"
] @keyword
(map_statement cmd: _ @keyword)
(command_name) @function.macro
@ -145,10 +151,16 @@
;; Command command
(command_attribute name: _ @property)
(command_attribute
name: _ @property
val: (behavior
(identifier)? @function) @constant)
name: _ @constant
val: (identifier)? @function)?)
;; Edit command
(plus_plus_opt
val: _? @constant) @property
(plus_cmd "+" @property) @property
;; Runtime command
@ -203,6 +215,7 @@
"/="
"%="
".="
"..="
] @operator
; Some characters have different meanings based on the context