Description
When opening a file and close that file with :q or :bd and then open another file the tree window size splits into 50% width of the screen. It doesn't keep its original size.
Neovim version
NVIM v0.7.0
Build type: Release
LuaJIT 2.1.0-beta3
Operating system and version
macOS 12.3.1
nvim-tree version
82ec79a
Minimal config
Used the nvt-min.lua file and same behavior.
Steps to reproduce
- nvim -nu /tmp/nvt-min.lua
- :NVimTreeOpen
- Open a file
- Close that file buffer with
:q or :bd
- Open another file
- Tree window is resized to 50% of screen
Expected behavior
Tree window to stay the same.
Actual behavior
Tree window resized to 50% of screen.