Use IndexMap for a deterministic order when importing syntax colors

This commit is contained in:
Marshall Bowers 2023-11-09 13:12:36 -05:00
parent 1f0fccc353
commit 978cff8095
15 changed files with 143 additions and 143 deletions

View file

@ -143,16 +143,16 @@ pub fn palenight() -> UserThemeFamily {
syntax: Some(UserSyntaxTheme {
highlights: vec![
(
"something".into(),
"comment".into(),
UserHighlightStyle {
color: Some(rgba(0x7fcac3ff).into()),
color: Some(rgba(0x687097ff).into()),
..Default::default()
},
),
(
"comment".into(),
"something".into(),
UserHighlightStyle {
color: Some(rgba(0x687097ff).into()),
color: Some(rgba(0x7fcac3ff).into()),
..Default::default()
},
),