Skip to content

Wrong window size during plugin loading? #2370

Closed Answered by humblehacker
humblehacker asked this question in Q&A
Discussion options

You must be logged in to vote

I've found a workaround here: https://www.reddit.com/r/neovim/comments/mv7cnz/comment/gvai9fp/

Basically it does automatically what I've been doing manually after neovide starts, typing ⌃w= to resize all my split panes.

vim.cmd [[
  augroup AutoAdjustResize
    autocmd!
    autocmd VimResized * execute "normal! \<C-w>="
  augroup end
]]

It would be nice if the underlying problem could be fixed so that this isn't necessary. But since it solves my problem sufficiently enough, I'll close this discussion.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by humblehacker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant