bump zsh grammar, fix regex with expansion

regex with expansions will cause error if injected regex grammar used, disallow
This commit is contained in:
George Harker 2025-11-13 13:17:22 -08:00
parent b50774079a
commit 750cfa5762
2 changed files with 2 additions and 1 deletions

View file

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