Skip to content

Commit

Permalink
close sidebar aucmd BufLeave -> BufWinLeave
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-x committed May 12, 2024
1 parent 736cba1 commit 2def227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/navigator/symbols.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function M.side_panel()
})

vim.api.nvim_create_autocmd({
'BufLeave',
'BufWinLeave',
}, {
callback = function()
p:close()
Expand Down

0 comments on commit 2def227

Please sign in to comment.