-
-
Notifications
You must be signed in to change notification settings - Fork 633
Closed
Labels
Description
Description
Recently I found that in my workflow there are many unnamed buffers created, I tried to isolate the issue and I believe I came to the conclusion that this is caused by Nvim-Tree:
Here are the steps to repro:
1. $ nvim
2. :NvimTreeOpen
3. :below copen
4. :wincmd J
6. :NvimTreeClose
7. :ls
8. :NvimTreeOpen
9. :ls
Step 8 here creates a new unnamed buffer as you can see the difference between steps 7 and 9 output.
Neovim version
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
Operating system and version
macOS 11.5
nvim-tree version
Clean room replication
Just NvimTree installed
Steps to reproduce
1. $ nvim
2. :NvimTreeOpen
3. :below copen
4. :wincmd J
6. :NvimTreeClose
7. :ls
8. :NvimTreeOpen
9. :ls
Step 8 here creates a new unnamed buffer as you can see the difference between steps 7 and 9 output.
Expected behavior
No additional buffers are created
Actual behavior
Additional buffers are created every time this is done