-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange behavior when resizing with autocmd #84
Comments
Hey @thraizz I see your issue on my end too. Noticed that if I hit Perhaps adding an |
Hello, I have the same issue with the following autocmd :
There is a message in the :messages with the following error :
Hope this helps :) Edit :
to
seems to fix the issue, but I'm not sure it's a proper fix. |
Ah yes, this is a common problem. In 0.8 is has been allowed to set winminwidth to 0 This should provide a stable path to fix this problem. I will have a look |
The refactor branch has tests now. We should write tests for resizing vim. |
I'll look into this today - would you mind opening a separate issue and providing a minimal init? |
Hi, I am currently trying to get nvim to resize accordingly when I resize the terminal.
I tried to set it up with an autocomand like
autocmd VimResized * <cmd>lua require"focus".resize()<cr>
but this produces a blank screen and then, after what looks like a timeout, redraws without a resize.
Is this related to no window currently being focused? Can I work around this somehow?
Thanks and best regards!
The text was updated successfully, but these errors were encountered: