mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 00:43:33 +01:00
bat
theme wasn't getting set properly (#3807)
This commit is contained in:
parent
7401fa2fa5
commit
d0a7363e64
@ -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())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user