diff options
author | Dan Davison <dandavison7@gmail.com> | 2021-04-29 22:16:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 22:16:23 -0400 |
commit | 0e99a10e07b5b684b618b0a7a176fa254f8ef884 (patch) | |
tree | 9200fb820ae78e68717936fdac9b9bed40c150b8 /src/options/theme.rs | |
parent | 656a1f939d4854fc16295b472bb8d10a044aae47 (diff) |
Fix ansi syntax theme (#581)
* Update to latest version of bat::terminal::to_ansi_color
Fixes #447
* Delete mention of historical syntax theme ansi-light
* Update tests
Diffstat (limited to 'src/options/theme.rs')
-rw-r--r-- | src/options/theme.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/options/theme.rs b/src/options/theme.rs index ef46dbea..fa5cbef0 100644 --- a/src/options/theme.rs +++ b/src/options/theme.rs @@ -38,13 +38,12 @@ pub fn is_light_syntax_theme(theme: &str) -> bool { LIGHT_SYNTAX_THEMES.contains(&theme) } -const LIGHT_SYNTAX_THEMES: [&str; 7] = [ +const LIGHT_SYNTAX_THEMES: [&str; 6] = [ "GitHub", "gruvbox-light", "gruvbox-white", "Monokai Extended Light", "OneHalfLight", - "ansi-light", "Solarized (light)", ]; |