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
fix: prevent NvimTree to be alternate buffer when tab open (#3205)
* fix: prevent NvimTree to be alternate buffer when tab open
* fix: prevent tabnew leave a dangling "[No Name]" buffer
* Update lua/nvim-tree/actions/node/open-file.lua
Co-authored-by: Alexander Courtis <[email protected]>
---------
Co-authored-by: Alexander Courtis <[email protected]>
-- Following vim.fn.tabnew the # buffer may be set to the tree buffer. There is no way to clear the # buffer via vim.fn.setreg as it requires a valid buffer. Clear # by setting it to a new temporary scratch buffer.
0 commit comments