feat: make hover easy to override

This commit is contained in:
Folke Lemaitre 2022-12-21 19:04:08 +01:00
parent 2ab651864f
commit f0e1b853a0
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 3 additions and 1 deletions

View File

@ -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