update vim parser and queries

This commit is contained in:
Christian Clason 2022-08-17 11:09:14 +02:00 committed by Christian Clason
parent 116c72f5c2
commit 11e88f698a
3 changed files with 14 additions and 6 deletions

View file

@ -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)