From 4173e94c6f260a64888928eead9aab8fd0bb1f97 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 16 Sep 2021 09:54:56 +0900 Subject: Do not check for --height support on --version https://github.com/junegunn/fzf.vim/issues/1329 --- src/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3