Open jackielii opened 3 years ago
I can't reproduce the problem with my setup. Can you provide a minimal set of plugins and settings that can be used to reproduce the problem?
Seeing what I think is the same issue, filed it over at https://github.com/neoclide/coc.nvim/issues/4178
Closing floats before calling winrestcmd seems to fix this
https://github.com/Gee19/vim-peekaboo/commit/4882bb445d0065bb5bdb1003d1d86a462987d80e
anyone know how to close the lspconfig hover buf? having same issue with it causing peekaboo resizing cmdheight.
edit : I commented out the following line (from /autoload/peekaboo.vim ) and now regardless of hover buf state, when I enter peekaboo from normal mode with " or @, or insert mode with ctrl-r, the peekaboo window closes without issue and all panes are the correct size.
anyone aware of a case that fails?
execute s:winrestcmd
Filed https://github.com/junegunn/vim-peekaboo/pull/89 to see if disabling winrestcmd fixes the issue.
I can't figure out which plugin caused the issue, with minimum config it's ok, but with plugins enabled it shows the error.
I think the plugins related are peekaboo, vim-surround, vim-airline.
steps to reproduce:
qqf=ysiw"j0q
qq
record macroq
f=
move to=
ysiw"
add around a word"
j0q
move to next line and to the beginning and end macro@q
screenshot before pressing![image](https://user-images.githubusercontent.com/360983/87886996-1d224600-ca19-11ea-99e1-84692caa2b77.png)
@q
:screenshot after bug![image](https://user-images.githubusercontent.com/360983/87886975-ff54e100-ca18-11ea-81df-f086f374dd0b.png)
at this point I had to resize the windows vertically to get it back,
set verbosefile=filename.txt set verbose=9
relevant part of the log: