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" },
|
{ plugin = true, name = "restore", key = "r", desc = "Restore this plugin to the state in the lockfile" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
M.hover = "K"
|
||||||
|
|
||||||
---@type string?
|
---@type string?
|
||||||
M.mode = nil
|
M.mode = nil
|
||||||
|
|
||||||
|
@ -240,7 +242,7 @@ function M.keys(buf, handlers)
|
||||||
end, { buffer = buf, silent = true })
|
end, { buffer = buf, silent = true })
|
||||||
end
|
end
|
||||||
|
|
||||||
map("K")
|
map(M.hover)
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Reference in New Issue