mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat(regex): better count quantifier highlights
This commit is contained in:
parent
8672843527
commit
049d42a31e
1 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
(class_character) @constant
|
(class_character) @constant
|
||||||
|
|
||||||
|
(decimal_digits) @number
|
||||||
|
|
||||||
[
|
[
|
||||||
(control_letter_escape)
|
(control_letter_escape)
|
||||||
(character_class_escape)
|
(character_class_escape)
|
||||||
|
|
@ -42,6 +44,7 @@
|
||||||
[
|
[
|
||||||
(start_assertion)
|
(start_assertion)
|
||||||
(end_assertion)
|
(end_assertion)
|
||||||
|
","
|
||||||
] @punctuation.delimiter
|
] @punctuation.delimiter
|
||||||
|
|
||||||
(any_character) @variable.builtin
|
(any_character) @variable.builtin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue