2022-09-04 07:37:24 -07:00
|
|
|
(lua_statement (script (body) @lua))
|
|
|
|
(lua_statement (chunk) @lua)
|
2022-11-22 13:25:51 -07:00
|
|
|
(ruby_statement (script (body) @ruby))
|
|
|
|
(ruby_statement (chunk) @ruby)
|
|
|
|
(python_statement (script (body) @python))
|
|
|
|
(python_statement (chunk) @python)
|
|
|
|
;; If we support perl at some point...
|
2022-09-04 07:37:24 -07:00
|
|
|
;; (perl_statement (script (body) @perl))
|
|
|
|
;; (perl_statement (chunk) @perl)
|
|
|
|
|
2022-11-22 13:25:51 -07:00
|
|
|
(autocmd_statement (pattern) @regex)
|
2022-09-04 07:37:24 -07:00
|
|
|
|
|
|
|
((set_item
|
|
|
|
option: (option_name) @_option
|
|
|
|
value: (set_value) @vim)
|
|
|
|
(#any-of? @_option
|
|
|
|
"includeexpr" "inex"
|
|
|
|
"printexpr" "pexpr"
|
|
|
|
"formatexpr" "fex"
|
|
|
|
"indentexpr" "inde"
|
|
|
|
"foldtext" "fdt"
|
|
|
|
"foldexpr" "fde"
|
|
|
|
"diffexpr" "dex"
|
|
|
|
"patchexpr" "pex"
|
|
|
|
"charconvert" "ccv"))
|
|
|
|
|
2022-11-22 13:25:51 -07:00
|
|
|
(comment) @comment
|
|
|
|
(line_continuation_comment) @comment
|