We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8197313 commit c4da4a4Copy full SHA for c4da4a4
lua/neo-tree/sources/filesystem/lib/fs_actions.lua
@@ -18,7 +18,7 @@ local M = {}
18
local function clear_buffer(path)
19
for _, buf in pairs(api.nvim_list_bufs()) do
20
if api.nvim_buf_get_name(buf) == path then
21
- api.nvim_command(":bwipeout! " .. buf)
+ pcall(vim.api.nvim_buf_delete, buf, { force = true })
22
end
23
24
0 commit comments