Skip to content

Commit

Permalink
Fix a typo to make Catppuccin Latte detected as light theme (#1745)
Browse files Browse the repository at this point in the history
Also sort `LIGHT_SYNTAX_THEMES`
  • Loading branch information
injust authored Jul 17, 2024
1 parent 048ae76 commit f2c43ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ pub fn is_light_syntax_theme(theme: &str) -> bool {
}

const LIGHT_SYNTAX_THEMES: [&str; 7] = [
"catppuccin-latte",
"GitHub",
"gruvbox-light",
"gruvbox-white",
"Monokai Extended Light",
"OneHalfLight",
"Solarized (light)",
"Catppuccin-latte",
];

const DEFAULT_LIGHT_SYNTAX_THEME: &str = "GitHub";
Expand Down

0 comments on commit f2c43ae

Please sign in to comment.