Rename the rogue buffer. (#327)

This commit is contained in:
Sindre T. Strøm
2021-04-20 23:44:24 +02:00
committed by GitHub
parent 983963779d
commit c235df7aaa

View File

@@ -102,6 +102,7 @@ function M._wipe_rogue_buffer()
end
end
a.nvim_buf_set_name(bn, "")
vim.schedule(function ()
pcall(a.nvim_buf_delete, bn, {})
end)