diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2021-09-16 09:54:56 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2021-09-29 20:17:44 +0900 |
commit | 4173e94c6f260a64888928eead9aab8fd0bb1f97 (patch) | |
tree | 1cc5da5e15c3eae112031a35fcd2514a78381f41 /src | |
parent | 261d3d3340a9afa9925ec693a47ebe632d6870cb (diff) |
Do not check for --height support on --version
https://github.com/junegunn/fzf.vim/issues/1329
Diffstat (limited to 'src')
-rw-r--r-- | src/options.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |