You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not know if this is a bug per say or maybe I missed it from the docs, but I do not want neotree to resize splits on close.
When I close neotree, it resizes splits to make them equal, I do not want that as I could be working with multiple splits in specific sizes and I would have to resize after closing the splits and this forces me to use neotree float or oil most of the time as I do not want my splits to be automatically reiszed on neotree close.
Screenshots, Traceback
No response
Steps to Reproduce
Open neovim
Make splits (vertical)
Resize splits
Open neotree
Close neotree
Expected Behavior
I expect my splits to stay as they are and not be automatically resized when neotree closes. I expect the state of the window should be restored, I have tried it manually with events and I cant get it to work that is why I am here.
for anyone who stumbled across this, this is not a neotree issue, it is a neovim settings that automatically resizes splits to equal sizes when closed. Check :h equalalways.
set noequalalways fixes this issue but it disables <c-w>= to equalize all splits. What I did was to save the window layout before neotree opens and then restore the layout after neotree closes
Did you check docs and existing issues?
Neovim Version (nvim -v)
NVIM v0.10.2
Operating System / Version
Fedora 40
Describe the Bug
I do not know if this is a bug per say or maybe I missed it from the docs, but I do not want neotree to resize splits on close.
When I close neotree, it resizes splits to make them equal, I do not want that as I could be working with multiple splits in specific sizes and I would have to resize after closing the splits and this forces me to use neotree float or oil most of the time as I do not want my splits to be automatically reiszed on neotree close.
Screenshots, Traceback
No response
Steps to Reproduce
Expected Behavior
I expect my splits to stay as they are and not be automatically resized when neotree closes. I expect the state of the window should be restored, I have tried it manually with events and I cant get it to work that is why I am here.
Your Configuration
The text was updated successfully, but these errors were encountered: