mirror of https://github.com/folke/lazy.nvim.git
feat: make hover easy to override
This commit is contained in:
parent
2ab651864f
commit
f0e1b853a0
|
@ -36,6 +36,8 @@ M.modes = {
|
|||
{ plugin = true, name = "restore", key = "r", desc = "Restore this plugin to the state in the lockfile" },
|
||||
}
|
||||
|
||||
M.hover = "K"
|
||||
|
||||
---@type string?
|
||||
M.mode = nil
|
||||
|
||||
|
@ -240,7 +242,7 @@ function M.keys(buf, handlers)
|
|||
end, { buffer = buf, silent = true })
|
||||
end
|
||||
|
||||
map("K")
|
||||
map(M.hover)
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Reference in New Issue