mirror of https://github.com/folke/lazy.nvim.git
fix(ui): properly cleanup on `:quit`. Fixes #1385
This commit is contained in:
parent
107719d31e
commit
79e2e85934
|
@ -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…
Reference in New Issue