mirror of
https://github.com/denisidoro/navi
synced 2024-11-22 03:23:05 +00:00
Correctly show preview var window for --multi (#472)
This commit is contained in:
parent
deca1f5426
commit
43f017353e
2 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ fn prompt_finder(
|
|||
overrides: config.fzf_overrides_var.clone(),
|
||||
preview: Some(format!(
|
||||
r#"{prefix}navi preview-var "$(cat <<NAVIEOF
|
||||
{{}}
|
||||
{{+}}
|
||||
NAVIEOF
|
||||
)" "$(cat <<NAVIEOF
|
||||
{{q}}
|
||||
|
|
|
@ -128,7 +128,7 @@ pub fn preview_var(selection: &str, query: &str, variable: &str) {
|
|||
color = variable_color,
|
||||
variable = variable_name,
|
||||
reset = reset,
|
||||
value = &finder::process(value, column, delimiter.as_deref(), map.clone())
|
||||
value = finder::process(value, column, delimiter.as_deref(), map.clone())
|
||||
.expect("Unable to process value"),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue