mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-08 02:35:44 +02:00
fix: don't clear stored data when buffer is unlisted
This commit is contained in:
parent
88764566f9
commit
edfdcf1d45
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ M.attach_autocommands = function(bufnr)
|
|||
window.update_position(0, 0)
|
||||
end,
|
||||
})
|
||||
vim.api.nvim_create_autocmd("BufDelete", {
|
||||
vim.api.nvim_create_autocmd("BufUnload", {
|
||||
desc = "Aerial clean up stored data",
|
||||
buffer = bufnr,
|
||||
group = group,
|
||||
|
|
Loading…
Reference in a new issue