mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -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
|
] @operator
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue