close sidebar aucmd BufLeave -> BufWinLeave

neovim_0.9
ray-x 2 weeks ago
parent 736cba15dc
commit 2def227e76

@ -201,7 +201,7 @@ function M.side_panel()
})
vim.api.nvim_create_autocmd({
'BufLeave',
'BufWinLeave',
}, {
callback = function()
p:close()

Loading…
Cancel
Save