summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-08-28 19:26:47 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-08-28 19:27:18 +0900
commitd87390934e161ad2ae09b4dc37f4b529a84caa92 (patch)
tree4ad44e7532f153f5a2d9a61fc5b7e978e9971e08 /plugin
parent411ec2e55773038ff3522a3f52cfde4b89b0df5c (diff)
[neovim] Do not resize if the size of the screen has changed
Related #642
Diffstat (limited to 'plugin')
-rw-r--r--plugin/fzf.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 4b554e92..8e3859dd 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -467,7 +467,7 @@ function! s:execute_term(dict, command, temps) abort
execute 'bd!' self.buf
endif
- if &lines <= self.lines && &columns <= self.columns && s:getpos() == self.ppos
+ if &lines == self.lines && &columns == self.columns && s:getpos() == self.ppos
execute self.winrest
endif