mirror of
https://github.com/denisidoro/navi.git
synced 2024-10-06 14:47:48 +03:00
Fix autoselect-1 when using skim (#429)
This commit is contained in:
parent
ff84a30301
commit
ca458f76f6
@ -138,8 +138,10 @@ impl Finder for FinderChoice {
|
||||
"--exact",
|
||||
]);
|
||||
|
||||
if opts.autoselect {
|
||||
command.arg("--select-1");
|
||||
if let Self::Fzf = self {
|
||||
if opts.autoselect {
|
||||
command.arg("--select-1");
|
||||
}
|
||||
}
|
||||
|
||||
match opts.suggestion_type {
|
||||
|
Loading…
Reference in New Issue
Block a user