From f2c43ae0f30b8b690fd7230fde8ad1681de0e119 Mon Sep 17 00:00:00 2001 From: Justin Su Date: Wed, 17 Jul 2024 05:18:00 -0400 Subject: [PATCH] Fix a typo to make Catppuccin Latte detected as light theme (#1745) Also sort `LIGHT_SYNTAX_THEMES` --- src/options/theme.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options/theme.rs b/src/options/theme.rs index 20e43aab5..31071c96d 100644 --- a/src/options/theme.rs +++ b/src/options/theme.rs @@ -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";