Do not check for --height support on --version

https://github.com/junegunn/fzf.vim/issues/1329
This commit is contained in:
Junegunn Choi committed 2021-09-29 20:17:44 +09:00
1 parent 261d3d3340
commit 4173e94c6f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ function s:get_version(bin)
if has_key(s:versions, a:bin)
return s:versions[a:bin]
end
let command = a:bin . ' --version'
let command = a:bin . ' --version --no-height'
let output = systemlist(command)
if v:shell_error || empty(output)
return ''