summaryrefslogtreecommitdiffstats
path: root/src/utils/bat/output.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/bat/output.rs')
-rw-r--r--src/utils/bat/output.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/bat/output.rs b/src/utils/bat/output.rs
index a231168b..62761c25 100644
--- a/src/utils/bat/output.rs
+++ b/src/utils/bat/output.rs
@@ -162,8 +162,7 @@ fn _make_process_from_less_path(
p.env("LESSCHARSET", "UTF-8");
p.env("LESSANSIENDCHARS", "mK");
if config.navigate {
- if let Ok(hist_file) = navigate::copy_less_hist_file_and_append_navigate_regexp(config)
- {
+ if let Ok(hist_file) = navigate::copy_less_hist_file_and_append_navigate_regex(config) {
p.env("LESSHISTFILE", hist_file);
if config.show_themes {
p.arg("+n");