Unify regex highlight style under @string.regex
This commit is contained in:
@@ -142,14 +142,11 @@ export interface Syntax {
|
||||
string: SyntaxHighlightStyle
|
||||
// css: color_value
|
||||
// js: this, super
|
||||
// racket: regex
|
||||
// toml: offset_date_time, local_date_time...
|
||||
"string.special": SyntaxHighlightStyle
|
||||
// elixir: atom, quoted_atom, keyword, quoted_keyword
|
||||
// ruby: simple_symbol, delimited_symbol...
|
||||
"string.special.symbol": SyntaxHighlightStyle
|
||||
// ruby: Regular expression
|
||||
"string.special.regex": SyntaxHighlightStyle
|
||||
// elixir, python, yaml...: escape_sequence
|
||||
"string.escape": SyntaxHighlightStyle
|
||||
// Regular expressions
|
||||
|
||||
@@ -102,9 +102,6 @@ function buildDefaultSyntax(colorScheme: ColorScheme): Syntax {
|
||||
"string.special.symbol": {
|
||||
color: color.string,
|
||||
},
|
||||
"string.special.regex": {
|
||||
color: color.string,
|
||||
},
|
||||
"string.escape": {
|
||||
color: color.comment,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user