mirror of https://github.com/folke/lazy.nvim.git
fix(ui): don't close on BufLeave. Fixes #561
This commit is contained in:
parent
f2cc9ef6ac
commit
7339145a22
|
@ -53,7 +53,7 @@ function M:init(opts)
|
|||
}
|
||||
self:mount()
|
||||
self:on_key(ViewConfig.keys.close, self.close)
|
||||
self:on({ "BufDelete", "BufLeave", "BufHidden" }, self.close, { once = true })
|
||||
self:on({ "BufDelete", "BufHidden" }, self.close, { once = true })
|
||||
return self
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue