summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authorCatherine Noll <noll.catherine@gmail.com>2021-03-21 12:50:45 -0500
committerCatherine Noll <noll.catherine@gmail.com>2021-03-21 12:50:45 -0500
commit85f591b75297c085ba321e869b1d3a63a0d4837d (patch)
treeb3a7f19a4f5669657698afb0f4741f47cfeed8ed /src/config.rs
parent3572ec451f78270fc5aa8348e6ac716a32ab366c (diff)
Send navigation command to less on --show-themes
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index eaa295ea..f822efc2 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -70,6 +70,7 @@ pub struct Config {
pub plus_style: Style,
pub git_minus_style: Style,
pub git_plus_style: Style,
+ pub show_themes: bool,
pub side_by_side: bool,
pub side_by_side_data: side_by_side::SideBySideData,
pub syntax_dummy_theme: SyntaxTheme,
@@ -234,6 +235,7 @@ impl From<cli::Opt> for Config {
plus_style,
git_minus_style,
git_plus_style,
+ show_themes: opt.show_themes,
side_by_side: opt.side_by_side,
side_by_side_data,
syntax_dummy_theme: SyntaxTheme::default(),