From d0a7363e64cea2aae8849f9d2f230796a4f200d3 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Mon, 19 Jul 2021 14:54:36 -0500 Subject: [PATCH] `bat` theme wasn't getting set properly (#3807) --- crates/nu_plugin_textview/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu_plugin_textview/src/config.rs b/crates/nu_plugin_textview/src/config.rs index 9d9e844596..063141ee33 100644 --- a/crates/nu_plugin_textview/src/config.rs +++ b/crates/nu_plugin_textview/src/config.rs @@ -71,7 +71,7 @@ impl From<&Value> for Config { "line_ranges" => config.line_ranges = bat::line_range::LineRanges::all(), "highlight_range" => config.highlight_range = "0,0".into(), "theme" => { - config.theme = value + config.theme = entry .as_string() .unwrap_or_else(|_| "OneDarkHalf".to_string()) }