mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-06-01 23:20:46 +00:00
[vim] Set maxwidth and maxheight when creating a popup
For me, this fixes invalid popup size problem on Windows GVim
This commit is contained in:
parent
f08f4fd87d
commit
c144c95cda
|
@ -912,7 +912,9 @@ else
|
||||||
\ line: a:opts.row,
|
\ line: a:opts.row,
|
||||||
\ col: a:opts.col,
|
\ col: a:opts.col,
|
||||||
\ minwidth: a:opts.width,
|
\ minwidth: a:opts.width,
|
||||||
|
\ maxwidth: a:opts.width,
|
||||||
\ minheight: a:opts.height,
|
\ minheight: a:opts.height,
|
||||||
|
\ maxheight: a:opts.height,
|
||||||
\ zindex: 1000,
|
\ zindex: 1000,
|
||||||
\ })}
|
\ })}
|
||||||
autocmd TerminalOpen * ++once call s:popup_create(str2nr(expand('<abuf>')))
|
autocmd TerminalOpen * ++once call s:popup_create(str2nr(expand('<abuf>')))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user