mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(zsh): bump parser, disallow injections for regex with expansion
This commit is contained in:
parent
0427eeb385
commit
2144e88dac
2 changed files with 2 additions and 1 deletions
|
|
@ -2703,7 +2703,7 @@ return {
|
|||
},
|
||||
zsh = {
|
||||
install_info = {
|
||||
revision = 'v0.36.0',
|
||||
revision = 'v0.42.0',
|
||||
url = 'https://github.com/georgeharker/tree-sitter-zsh',
|
||||
},
|
||||
maintainers = { '@georgeharker' },
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
(#set! injection.language "comment"))
|
||||
|
||||
((regex) @injection.content
|
||||
(#not-lua-match? @injection.content "%${.*}")
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
(heredoc_redirect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue