mirror of https://github.com/folke/lazy.nvim.git
feat(ui): added help for <CR> on a plugin
This commit is contained in:
parent
b88b7d75eb
commit
c87673c4b9
|
@ -145,6 +145,8 @@ function M:help()
|
||||||
local View = require("lazy.view")
|
local View = require("lazy.view")
|
||||||
self:append("Help", "LazyH2"):nl():nl()
|
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()
|
self:append("Keyboard Shortcuts", "LazyH2"):nl()
|
||||||
for _, mode in ipairs(View.modes) do
|
for _, mode in ipairs(View.modes) do
|
||||||
local title = mode.name:sub(1, 1):upper() .. mode.name:sub(2)
|
local title = mode.name:sub(1, 1):upper() .. mode.name:sub(2)
|
||||||
|
|
Loading…
Reference in New Issue