From c7bb973e0ff0103b6197585c60563b596e5faf0a Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Sat, 27 Jun 2020 16:21:48 -0400 Subject: Rename --list-*, --show-* commands --list-syntax-themes => --show-syntax-themes --list-syntax-theme-names => --list-syntax-themes --show-styles => --show-config Fixes #207 Fixes #226 --- src/config.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 672a9507..03e0d68e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -34,9 +34,6 @@ pub struct Config { pub file_style: Style, pub keep_plus_minus_markers: bool, pub hunk_header_style: Style, - pub list_languages: bool, - pub list_syntax_theme_names: bool, - pub list_syntax_themes: bool, pub max_buffered_lines: usize, pub max_line_distance: f64, pub max_line_distance_for_naively_paired_lines: f64, @@ -61,7 +58,6 @@ pub struct Config { pub plus_file: Option, pub plus_non_emph_style: Style, pub plus_style: Style, - pub show_styles: bool, pub line_numbers: bool, pub syntax_dummy_theme: SyntaxTheme, pub syntax_set: SyntaxSet, @@ -198,9 +194,6 @@ impl From for Config { file_style, keep_plus_minus_markers: opt.keep_plus_minus_markers, hunk_header_style, - list_languages: opt.list_languages, - list_syntax_theme_names: opt.list_syntax_theme_names, - list_syntax_themes: opt.list_syntax_themes, max_buffered_lines: 32, max_line_distance: opt.max_line_distance, max_line_distance_for_naively_paired_lines, @@ -225,7 +218,6 @@ impl From for Config { plus_file: opt.plus_file.map(|s| s.clone()), plus_non_emph_style, plus_style, - show_styles: opt.show_styles, line_numbers: opt.line_numbers, syntax_dummy_theme, syntax_set: assets.syntax_set, -- cgit v1.2.3