mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -04:00
bump zsh grammar, fix regex with expansion
regex with expansions will cause error if injected regex grammar used, disallow
This commit is contained in:
parent
b50774079a
commit
750cfa5762
2 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
(#set! injection.language "comment"))
|
||||
|
||||
((regex) @injection.content
|
||||
(#not-match? @injection.content "\\$\\{.*\\}")
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
(heredoc_redirect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue