mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(regex): highlights for lazy quantifiers, \k
Highlights the "?" following .* and the \k backreference operator in a pattern like the following: title=(?<quote>["'])(.*?)\k<quote>
This commit is contained in:
parent
3abe66556f
commit
98b46a647e
1 changed files with 2 additions and 0 deletions
|
|
@ -39,6 +39,8 @@
|
|||
"="
|
||||
"!"
|
||||
"-"
|
||||
(backreference_escape)
|
||||
(lazy)
|
||||
] @operator
|
||||
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue