Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Don't match `support.function` for `function`
Marshall Bowers53d77b192ae3
diff --git a/crates/theme2/src/themes/ayu.rs b/crates/theme2/src/themes/ayu.rsindex 8affab4695d..da8c0842975 100644--- a/crates/theme2/src/themes/ayu.rs+++ b/crates/theme2/src/themes/ayu.rs@@ -134,7 +134,7 @@ pub fn ayu() -> UserThemeFamily {("function".into(),UserHighlightStyle {- color: Some(rgba(0xf07171ff).into()),+ color: Some(rgba(0xf2ae49ff).into()),..Default::default()},),@@ -409,7 +409,7 @@ pub fn ayu() -> UserThemeFamily {("function".into(),UserHighlightStyle {- color: Some(rgba(0xf28779ff).into()),+ color: Some(rgba(0xffd173ff).into()),..Default::default()},),@@ -684,7 +684,7 @@ pub fn ayu() -> UserThemeFamily {("function".into(),UserHighlightStyle {- color: Some(rgba(0xf07178ff).into()),+ color: Some(rgba(0xffb454ff).into()),..Default::default()},),diff --git a/crates/theme_importer/src/vscode/syntax.rs b/crates/theme_importer/src/vscode/syntax.rsindex 19a38fdd72c..1194548081e 100644--- a/crates/theme_importer/src/vscode/syntax.rs+++ b/crates/theme_importer/src/vscode/syntax.rs@@ -190,11 +190,7 @@ impl ZedSyntaxToken {"markup.bold markup.italic",],ZedSyntaxToken::Enum => vec!["support.type.enum"],- ZedSyntaxToken::Function => vec![- "entity.name.function",- "variable.function",- "support.function",- ],+ ZedSyntaxToken::Function => vec!["entity.name.function", "variable.function"],ZedSyntaxToken::Hint => vec![],ZedSyntaxToken::Keyword => vec!["keyword",