diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2020-10-31 22:27:58 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-10-31 22:27:58 +0900 |
commit | c144c95cdab7dbf8a2c2430c007493813b1cad19 (patch) | |
tree | 6b05097fddda24a0c15d49841356524cafc6df10 | |
parent | f08f4fd87dffbe34f8b11de01829c6d63d24a15e (diff) |
[vim] Set maxwidth and maxheight when creating a popup
For me, this fixes invalid popup size problem on Windows GVim
-rw-r--r-- | plugin/fzf.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index 9f78e634..14d02764 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -912,7 +912,9 @@ else \ line: a:opts.row, \ col: a:opts.col, \ minwidth: a:opts.width, + \ maxwidth: a:opts.width, \ minheight: a:opts.height, + \ maxheight: a:opts.height, \ zindex: 1000, \ })} autocmd TerminalOpen * ++once call s:popup_create(str2nr(expand('<abuf>'))) |