mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 03:19:01 +00:00
[vim] Apply --no-height when running fzf in full screen mode
To override --height option in FZF_DEFAULT_OPTS
This commit is contained in:
parent
4b700192c1
commit
72265298f9
@ -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…
Reference in New Issue
Block a user