From c144c95cdab7dbf8a2c2430c007493813b1cad19 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 31 Oct 2020 22:27:58 +0900 Subject: [PATCH] [vim] Set maxwidth and maxheight when creating a popup For me, this fixes invalid popup size problem on Windows GVim --- plugin/fzf.vim | 2 ++ 1 file changed, 2 insertions(+) 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('')))