mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
feat: add support for vim
This commit is contained in:
parent
9c5dd185c4
commit
1877e03bfa
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