-
-
Notifications
You must be signed in to change notification settings - Fork 633
Open
Labels
PR pleasenvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciatednvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciatedQOLQuality Of Life ImprovementQuality Of Life Improvementfeature request
Description
Hi, sorry to use black issue templete.
nvim-tree uses NvimTree_1 as default name, this will be keeped in jumplist,if it is openned by jumps picker, and save file. this will create a real file, and then open nvim-tree you will get this error:
"NvimTree_1" line 8 of 9 --88%-- col 7-5
"NvimTree_1" [New] --No lines in buffer--
"NvimTree_1" line 8 of 9 --88%-- col 7-5
"NvimTree_1" [New] --No lines in buffer--
"NvimTree_1" line 8 of 9 --88%-- col 7-5
"NvimTree_1" [New] --No lines in buffer--
"NvimTree_1" [New] 0L, 0B written
[NvimTree] Cannot rename C:\Users\wsdjeg\AppData\Local\nvim\init.lua -> C:\Users\wsdjeg\AppData\Local\nvim\init.lua: file already exists
Error executing Lua callback: ...undle_dir\nvim-tree\nvim-tree.lua/lua/nvim-tree/view.lua:104: Vim:E95: Buffer with this name already exists
stack traceback:
[C]: in function 'nvim_buf_set_name'
...undle_dir\nvim-tree\nvim-tree.lua/lua/nvim-tree/view.lua:104: in function 'create_buffer'
...undle_dir\nvim-tree\nvim-tree.lua/lua/nvim-tree/view.lua:292: in function 'open'
D:\bundle_dir\nvim-tree\nvim-tree.lua/lua/nvim-tree/lib.lua:34: in function 'open_view_and_draw'
D:\bundle_dir\nvim-tree\nvim-tree.lua/lua/nvim-tree/lib.lua:129: in function 'open'
...tree\nvim-tree.lua/lua/nvim-tree/actions/tree/toggle.lua:48: in function 'toggle'
...e_dir\nvim-tree\nvim-tree.lua/lua/nvim-tree/commands.lua:36: in function <...e_dir\nvim-tree\nvim-tree.lua/lua/nvim-tree/commands.lua:35>
is it possile to use empty buffer name?
Metadata
Metadata
Assignees
Labels
PR pleasenvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciatednvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciatedQOLQuality Of Life ImprovementQuality Of Life Improvementfeature request