summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2017-04-30 11:23:42 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2017-04-30 11:23:42 +0900
commit33f32de6906ebc73c1eec3f556955077ff4b588b (patch)
tree7aae45f9e3ae3ed43803525381c6b003cf5a1c4a /plugin
parent7f17a9d1b4508306ee6898ae2a0c578d8da41f3e (diff)
parent93b8f61551724498a3dea9b084f89666185afb46 (diff)
downloadfzf-33f32de6906ebc73c1eec3f556955077ff4b588b.tar.gz
Merge branch 'master' into devel
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 3eb1d0e3..126e16bf 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -379,7 +379,9 @@ try
let use_term = 0
endif
if use_height
- let optstr .= ' --height='.s:calc_size(&lines, dict.down, dict)
+ let height = s:calc_size(&lines, dict.down, dict)
+ let $FZF_HEIGHT = height
+ let optstr .= ' --height='.height
elseif use_term
let optstr .= ' --no-height'
endif