mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
update vim parser and queries
This commit is contained in:
parent
116c72f5c2
commit
11e88f698a
3 changed files with 14 additions and 6 deletions
|
|
@ -1,8 +1,12 @@
|
|||
(lua_statement . (_) @lua)
|
||||
(ruby_statement . (_) @ruby)
|
||||
(python_statement . (_) @python)
|
||||
(lua_statement (script (body) @lua))
|
||||
(lua_statement (chunk) @lua)
|
||||
(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...
|
||||
;; (perl_statement . (_) @perl)
|
||||
;; (perl_statement (script (body) @perl))
|
||||
;; (perl_statement (chunk) @perl)
|
||||
|
||||
(autocmd_statement (pattern) @regex)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue