1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:30:04 +08:00
SpaceVim/bundle/nvim-treesitter/queries/vim/injections.scm
2022-04-14 12:01:23 +08:00

24 lines
520 B
Scheme

(lua_statement . (_) @lua)
(ruby_statement . (_) @ruby)
(python_statement . (_) @python)
;; If we support perl at some point...
;; (perl_statement . (_) @perl)
(autocmd_statement (pattern) @regex)
((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"))
(comment) @comment