Don't match support.function for function

This commit is contained in:
Marshall Bowers 2023-12-08 10:48:27 -05:00
parent 53ff5ff724
commit 53d77b192a
2 changed files with 4 additions and 8 deletions

View File

@ -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()
},
),

View File

@ -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",