mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +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)
|
window.update_position(0, 0)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
vim.api.nvim_create_autocmd("BufDelete", {
|
vim.api.nvim_create_autocmd("BufUnload", {
|
||||||
desc = "Aerial clean up stored data",
|
desc = "Aerial clean up stored data",
|
||||||
buffer = bufnr,
|
buffer = bufnr,
|
||||||
group = group,
|
group = group,
|
||||||
|
|
Loading…
Reference in a new issue