Skip to content

Commit

Permalink
feat: make hover easy to override
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 21, 2022
1 parent 2ab6518 commit f0e1b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/lazy/view/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -240,7 +242,7 @@ function M.keys(buf, handlers)
end, { buffer = buf, silent = true })
end

map("K")
map(M.hover)
end

return M

0 comments on commit f0e1b85

Please sign in to comment.