Export FZF_PREVIEW_HEIGHT instead of FZF_HEIGHT

https://github.com/junegunn/fzf.vim/issues/361
This commit is contained in:
Junegunn Choi
2017-04-30 11:36:23 +09:00
parent 33f32de690
commit eba9e04e2e
2 changed files with 1 additions and 1 deletions

View File

@@ -380,7 +380,6 @@ try
endif
if use_height
let height = s:calc_size(&lines, dict.down, dict)
let $FZF_HEIGHT = height
let optstr .= ' --height='.height
elseif use_term
let optstr .= ' --no-height'