Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Improve matching for string tokens
Marshall Bowers40a95221eafb
diff --git a/crates/theme2/src/themes/andromeda.rs b/crates/theme2/src/themes/andromeda.rsindex 8c841226eb2..766329b353c 100644--- a/crates/theme2/src/themes/andromeda.rs+++ b/crates/theme2/src/themes/andromeda.rs@@ -137,6 +137,34 @@ pub fn andromeda() -> UserThemeFamily {..Default::default()},),+ (+ "string.escape".into(),+ UserHighlightStyle {+ color: Some(rgba(0x96e072ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x96e072ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x96e072ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x96e072ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -299,6 +327,34 @@ pub fn andromeda() -> UserThemeFamily {..Default::default()},),+ (+ "string.escape".into(),+ UserHighlightStyle {+ color: Some(rgba(0x96e072ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x96e072ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x96e072ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x96e072ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {diff --git a/crates/theme2/src/themes/ayu.rs b/crates/theme2/src/themes/ayu.rsindex 84b84637588..8e5d588f524 100644--- a/crates/theme2/src/themes/ayu.rs+++ b/crates/theme2/src/themes/ayu.rs@@ -236,6 +236,13 @@ pub fn ayu() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x86b300ff).into()),+ ..Default::default()+ },+ ),("string.special".into(),UserHighlightStyle {@@ -518,6 +525,13 @@ pub fn ayu() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xd5ff80ff).into()),+ ..Default::default()+ },+ ),("string.special".into(),UserHighlightStyle {@@ -800,6 +814,13 @@ pub fn ayu() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xaad94cff).into()),+ ..Default::default()+ },+ ),("string.special".into(),UserHighlightStyle {diff --git a/crates/theme2/src/themes/dracula.rs b/crates/theme2/src/themes/dracula.rsindex f6d793b5260..3953a245267 100644--- a/crates/theme2/src/themes/dracula.rs+++ b/crates/theme2/src/themes/dracula.rs@@ -145,6 +145,34 @@ pub fn dracula() -> UserThemeFamily {..Default::default()},),+ (+ "string.escape".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf1fa8cff).into()),+ ..Default::default()+ },+ ),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf1fa8cff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf1fa8cff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf1fa8cff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {diff --git a/crates/theme2/src/themes/gruvbox.rs b/crates/theme2/src/themes/gruvbox.rsindex 9309f40503d..1ada65400f5 100644--- a/crates/theme2/src/themes/gruvbox.rs+++ b/crates/theme2/src/themes/gruvbox.rs@@ -197,6 +197,27 @@ pub fn gruvbox() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xb8bb26ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xb8bb26ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xb8bb26ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -426,6 +447,27 @@ pub fn gruvbox() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xb8bb26ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xb8bb26ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xb8bb26ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -655,6 +697,27 @@ pub fn gruvbox() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xb8bb26ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xb8bb26ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xb8bb26ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -884,6 +947,27 @@ pub fn gruvbox() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x79740eff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x79740eff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x79740eff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -1113,6 +1197,27 @@ pub fn gruvbox() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x79740eff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x79740eff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x79740eff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -1342,6 +1447,27 @@ pub fn gruvbox() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x79740eff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x79740eff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x79740eff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {diff --git a/crates/theme2/src/themes/night_owl.rs b/crates/theme2/src/themes/night_owl.rsindex be33b928fef..33246850f40 100644--- a/crates/theme2/src/themes/night_owl.rs+++ b/crates/theme2/src/themes/night_owl.rs@@ -194,6 +194,27 @@ pub fn night_owl() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xecc48dff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xecc48dff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xecc48dff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -414,6 +435,27 @@ pub fn night_owl() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x4876d6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x4876d6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x4876d6ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {diff --git a/crates/theme2/src/themes/noctis.rs b/crates/theme2/src/themes/noctis.rsindex 1e5688ddea6..caba6947fe9 100644--- a/crates/theme2/src/themes/noctis.rs+++ b/crates/theme2/src/themes/noctis.rs@@ -199,6 +199,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -430,6 +451,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -661,6 +703,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x00b368ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x00b368ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x00b368ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -892,6 +955,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x00b368ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x00b368ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x00b368ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -1123,6 +1207,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x00b368ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x00b368ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x00b368ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -1354,6 +1459,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x72c09fff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x72c09fff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x72c09fff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -1585,6 +1711,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -1816,6 +1963,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -2047,6 +2215,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -2278,6 +2467,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -2509,6 +2719,27 @@ pub fn noctis() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x49e9a6ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {diff --git a/crates/theme2/src/themes/nord.rs b/crates/theme2/src/themes/nord.rsindex e15515295ca..da03c82878a 100644--- a/crates/theme2/src/themes/nord.rs+++ b/crates/theme2/src/themes/nord.rs@@ -184,6 +184,27 @@ pub fn nord() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xa3be8cff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xa3be8cff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xa3be8cff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {diff --git a/crates/theme2/src/themes/palenight.rs b/crates/theme2/src/themes/palenight.rsindex c97dea03171..1200802fbce 100644--- a/crates/theme2/src/themes/palenight.rs+++ b/crates/theme2/src/themes/palenight.rs@@ -222,6 +222,27 @@ pub fn palenight() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xc3e88dff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xc3e88dff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xc3e88dff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -469,6 +490,27 @@ pub fn palenight() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xc3e88dff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xc3e88dff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xc3e88dff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -716,6 +758,27 @@ pub fn palenight() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xc3e88dff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xc3e88dff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xc3e88dff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {diff --git a/crates/theme2/src/themes/rose_pine.rs b/crates/theme2/src/themes/rose_pine.rsindex 65b4a21302d..ecd669c34a2 100644--- a/crates/theme2/src/themes/rose_pine.rs+++ b/crates/theme2/src/themes/rose_pine.rs@@ -173,6 +173,34 @@ pub fn rose_pine() -> UserThemeFamily {..Default::default()},),+ (+ "string.escape".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf6c177ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf6c177ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf6c177ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf6c177ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -378,6 +406,34 @@ pub fn rose_pine() -> UserThemeFamily {..Default::default()},),+ (+ "string.escape".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf6c177ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf6c177ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf6c177ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xf6c177ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -583,6 +639,34 @@ pub fn rose_pine() -> UserThemeFamily {..Default::default()},),+ (+ "string.escape".into(),+ UserHighlightStyle {+ color: Some(rgba(0xea9d34ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0xea9d34ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0xea9d34ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0xea9d34ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {diff --git a/crates/theme2/src/themes/solarized.rs b/crates/theme2/src/themes/solarized.rsindex 532a5f84603..7cec48b1f48 100644--- a/crates/theme2/src/themes/solarized.rs+++ b/crates/theme2/src/themes/solarized.rs@@ -201,6 +201,27 @@ pub fn solarized() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x2aa198ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x2aa198ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x2aa198ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {@@ -389,6 +410,27 @@ pub fn solarized() -> UserThemeFamily {..Default::default()},),+ (+ "string.regex".into(),+ UserHighlightStyle {+ color: Some(rgba(0x2aa198ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special".into(),+ UserHighlightStyle {+ color: Some(rgba(0x2aa198ff).into()),+ ..Default::default()+ },+ ),+ (+ "string.special.symbol".into(),+ UserHighlightStyle {+ color: Some(rgba(0x2aa198ff).into()),+ ..Default::default()+ },+ ),("tag".into(),UserHighlightStyle {diff --git a/crates/theme_importer/src/vscode/syntax.rs b/crates/theme_importer/src/vscode/syntax.rsindex e716d7c0e2f..d5097639cba 100644--- a/crates/theme_importer/src/vscode/syntax.rs+++ b/crates/theme_importer/src/vscode/syntax.rs@@ -172,6 +172,10 @@ impl ZedSyntaxToken {| ZedSyntaxToken::PunctuationDelimiter| ZedSyntaxToken::PunctuationListMarker| ZedSyntaxToken::PunctuationSpecial => &[ZedSyntaxToken::Punctuation],+ ZedSyntaxToken::StringEscape+ | ZedSyntaxToken::StringRegex+ | ZedSyntaxToken::StringSpecial+ | ZedSyntaxToken::StringSpecialSymbol => &[ZedSyntaxToken::String],_ => &[],}}