Tree size resized 50% width when closing buffer with :q
or :bd
#1260
-
DescriptionWhen opening a file and close that file with Neovim version
Operating system and versionmacOS 12.3.1 nvim-tree versionMinimal configUsed the nvt-min.lua file and same behavior. Steps to reproduce
Expected behaviorTree window to stay the same. Actual behaviorTree window resized to 50% of screen. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
This happens as well when the last buffer is closed and then opening another file. |
Beta Was this translation helpful? Give feedback.
-
Replicated with minimal config, but not with my config. Occurs when |
Beta Was this translation helpful? Give feedback.
-
This is working as intended. Please set See |
Beta Was this translation helpful? Give feedback.
This is working as intended. Please set
actions.open_file.resize_window = true
if you desire different behaviour.See
:help actions.open_file.resize_window