feat(zsh): bump parser, disallow injections for regex with expansion

This commit is contained in:
George Harker 2025-11-13 15:20:34 -08:00 committed by GitHub
parent 0427eeb385
commit 2144e88dac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -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' },

View file

@ -2,6 +2,7 @@
(#set! injection.language "comment"))
((regex) @injection.content
(#not-lua-match? @injection.content "%${.*}")
(#set! injection.language "regex"))
(heredoc_redirect