mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
feat: add support for vim
This commit is contained in:
parent
460a26ef32
commit
f2076b267e
4 changed files with 124 additions and 0 deletions
9
queries/vim/injections.scm
Normal file
9
queries/vim/injections.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(lua_statement . (_) @lua)
|
||||
(ruby_statement . (_) @ruby)
|
||||
(python_statement . (_) @python)
|
||||
;; If we support perl at some point...
|
||||
;; (perl_statement . (_) @perl)
|
||||
|
||||
(autocmd_statement (pattern) @regex)
|
||||
|
||||
(comment) @comment
|
||||
Loading…
Add table
Add a link
Reference in a new issue