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

To override --height option in FZF_DEFAULT_OPTS
pull/836/head
Junegunn Choi 7 years ago
parent 4b700192c1
commit 72265298f9
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -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

Loading…
Cancel
Save