mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -04:00
feat(regex): any_character, start end assertion hl differentiation
This commit is contained in:
parent
6b24db0c8f
commit
7da3cb6323
1 changed files with 7 additions and 3 deletions
|
|
@ -25,10 +25,14 @@
|
||||||
(control_letter_escape)
|
(control_letter_escape)
|
||||||
(character_class_escape)
|
(character_class_escape)
|
||||||
(control_escape)
|
(control_escape)
|
||||||
(start_assertion)
|
|
||||||
(end_assertion)
|
|
||||||
(boundary_assertion)
|
(boundary_assertion)
|
||||||
(non_boundary_assertion)
|
(non_boundary_assertion)
|
||||||
] @string.escape
|
] @string.escape
|
||||||
|
|
||||||
[ "*" "+" "?" "|" "=" "!" ] @operator
|
[ "*" "+" "?" "|" "=" "!" "-"] @operator
|
||||||
|
|
||||||
|
[
|
||||||
|
(any_character)
|
||||||
|
(start_assertion)
|
||||||
|
(end_assertion)
|
||||||
|
] @variable.builtin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue