mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -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
|
|
@ -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