Skip to content
Myr

[vim] Ignore argument to fzf#exec if it's lower than minimum requirement

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent d06c5ab · Browse files · 1 file+4 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:plugin/fzf.vim+4 added-1 removed
224 unmodified lines
225226 let s:exec = binaries[-1]227 endif228229 let min_version = a:0 ? a:1 : s:min_version229 let min_version = s:min_version230 if a:0 && s:compare_versions(a:1, min_version) > 0231 let min_version = a:1232 endif233 if !has_key(s:checked, min_version)234 let fzf_version = s:get_version(s:exec)235 if empty(fzf_version)236 let message = printf('Failed to run "%s --version"', s:exec)
867 unmodified lines