Unify regex highlight style under @string.regex
This commit is contained in:
parent
794e6e22a6
commit
8c51a62a8d
6 changed files with 4 additions and 10 deletions
|
@ -72,7 +72,7 @@
|
|||
(template_string)
|
||||
] @string
|
||||
|
||||
(regex) @string.special
|
||||
(regex) @string.regex
|
||||
(number) @number
|
||||
|
||||
; Tokens
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[(string)
|
||||
(here_string)
|
||||
(byte_string)] @string
|
||||
(regex) @string.special
|
||||
(regex) @string.regex
|
||||
(escape_sequence) @escape
|
||||
|
||||
[(comment)
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
(bare_symbol)
|
||||
] @string.special.symbol
|
||||
|
||||
(regex) @string.special.regex
|
||||
(regex) @string.regex
|
||||
(escape_sequence) @escape
|
||||
|
||||
[
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
(template_string)
|
||||
] @string
|
||||
|
||||
(regex) @string.special
|
||||
(regex) @string.regex
|
||||
(number) @number
|
||||
|
||||
; Tokens
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue