summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2019-10-23 16:41:18 -0700
committerDan Davison <dandavison7@gmail.com>2019-10-23 16:48:26 -0700
commitc6517fadfc7250fe0cedb1388f18a10e32ecfbe3 (patch)
treee1b2e9360e67f461b4d5b8eb706966d17cd23c50
parent20666bd08c02ef891d154f6a5b1b706d720f4f61 (diff)
Remove pager from config struct
Ref #30
-rw-r--r--src/config.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index f855d7c2..9b9f9af2 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -17,7 +17,6 @@ pub struct Config<'a> {
pub terminal_width: usize,
pub width: Option<usize>,
pub tab_width: usize,
- pub pager: &'a str,
pub opt: &'a cli::Opt,
pub no_style: Style,
pub max_buffered_lines: usize,
@@ -114,7 +113,6 @@ pub fn get_config<'a>(
width,
tab_width: opt.tab_width,
syntax_set,
- pager: "less",
opt,
no_style: style::get_no_style(),
max_buffered_lines: 32,