summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/fzf.vim2
-rw-r--r--src/options.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index d8295df2..4190e0e3 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -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 ''
diff --git a/src/options.go b/src/options.go
index e215beef..385eabc2 100644
--- a/src/options.go
+++ b/src/options.go
@@ -1592,7 +1592,7 @@ func validateSign(sign string, signOptName string) error {
}
func postProcessOptions(opts *Options) {
- if !tui.IsLightRendererSupported() && opts.Height.size > 0 {
+ if !opts.Version && !tui.IsLightRendererSupported() && opts.Height.size > 0 {
errorExit("--height option is currently not supported on this platform")
}
// Default actions for CTRL-N / CTRL-P when --history is set