Skip to content

Commit

Permalink
feat(ui): added help for <CR> on a plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 18, 2022
1 parent b88b7d7 commit c87673c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/lazy/view/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ function M:help()
local View = require("lazy.view")
self:append("Help", "LazyH2"):nl():nl()

self:append("You can press "):append("<CR>", "LazySpecial"):append(" on a plugin to show its details."):nl():nl()

self:append("Keyboard Shortcuts", "LazyH2"):nl()
for _, mode in ipairs(View.modes) do
local title = mode.name:sub(1, 1):upper() .. mode.name:sub(2)
Expand Down

0 comments on commit c87673c

Please sign in to comment.