Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
sharma-shray authored Nov 13, 2024
1 parent 720adb6 commit 97d166e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub fn set_options(
}
opt.navigate = opt.navigate || opt.env.navigate.is_some();
if opt.syntax_theme.is_none() {
opt.syntax_theme.clone_from(&opt.env.bat_theme);
opt.syntax_theme = opt.env.bat_theme.take();
}

let option_names = cli::Opt::get_argument_and_option_names();
Expand Down

0 comments on commit 97d166e

Please sign in to comment.