Skip to content

Commit c235df7

Browse files
authored
Rename the rogue buffer. (#327)
1 parent 9839637 commit c235df7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/nvim-tree/view.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ function M._wipe_rogue_buffer()
102102
end
103103
end
104104

105+
a.nvim_buf_set_name(bn, "")
105106
vim.schedule(function ()
106107
pcall(a.nvim_buf_delete, bn, {})
107108
end)

0 commit comments

Comments
 (0)