mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 03:24:13 +00:00
feat(ui): added mapping descriptions
This commit is contained in:
parent
5473e3d77c
commit
6ca90a2120
2 changed files with 15 additions and 13 deletions
|
@ -166,7 +166,7 @@ function M:mount()
|
|||
self:augroup(true)
|
||||
end, { win = true })
|
||||
self:focus()
|
||||
self:on_key(ViewConfig.keys.close, self.close)
|
||||
self:on_key(ViewConfig.keys.close, self.close, "Close")
|
||||
self:on({ "BufDelete", "BufHidden" }, self.close)
|
||||
|
||||
if vim.bo[self.buf].buftype == "" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue