mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 20:40:02 -04:00
feat(ecma): highlight regex flags
This commit is contained in:
parent
f2efc5f357
commit
90581acf87
1 changed files with 1 additions and 0 deletions
|
|
@ -193,6 +193,7 @@
|
|||
(template_string) @string
|
||||
(escape_sequence) @string.escape
|
||||
(regex_pattern) @string.regex
|
||||
(regex_flags) @character.special
|
||||
(regex "/" @punctuation.bracket) ; Regex delimiters
|
||||
|
||||
(number) @number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue