[vim] Apply --no-height when running fzf in full screen mode

To override --height option in FZF_DEFAULT_OPTS
This commit is contained in:
Junegunn Choi 2017-02-04 21:52:05 +09:00
parent 4b700192c1
commit 72265298f9
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -317,7 +317,7 @@ try
endif
if use_height
let optstr .= ' --height='.s:calc_size(&lines, dict.down, dict)
elseif use_term
else
let optstr .= ' --no-height'
endif
let command = prefix.(use_tmux ? s:fzf_tmux(dict) : fzf_exec).' '.optstr.' > '.temps.result