mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-04 23:17:35 +00:00
fix(ui): properly cleanup on :quit
. Fixes #1385
This commit is contained in:
parent
107719d31e
commit
79e2e85934
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ function M:init(opts)
|
|||
}
|
||||
self:mount()
|
||||
self:on_key(ViewConfig.keys.close, self.close)
|
||||
self:on({ "BufDelete", "BufHidden" }, self.close, { once = false })
|
||||
self:on({ "WinLeave", "BufDelete", "BufHidden" }, self.close, { once = false })
|
||||
return self
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue