mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(util.project): Change project key from 'P' to 'p' in dashboard
This commit is contained in:
parent
c64a61734f
commit
92d39e8657
1 changed files with 3 additions and 3 deletions
|
|
@ -126,7 +126,7 @@ return {
|
||||||
"goolord/alpha-nvim",
|
"goolord/alpha-nvim",
|
||||||
optional = true,
|
optional = true,
|
||||||
opts = function(_, dashboard)
|
opts = function(_, dashboard)
|
||||||
local button = dashboard.button("P", " " .. " Projects (util.project)", pick)
|
local button = dashboard.button("p", " " .. " Projects (util.project)", pick)
|
||||||
button.opts.hl = "AlphaButtons"
|
button.opts.hl = "AlphaButtons"
|
||||||
button.opts.hl_shortcut = "AlphaShortcut"
|
button.opts.hl_shortcut = "AlphaShortcut"
|
||||||
table.insert(dashboard.section.buttons.val, 4, button)
|
table.insert(dashboard.section.buttons.val, 4, button)
|
||||||
|
|
@ -159,7 +159,7 @@ return {
|
||||||
action = pick,
|
action = pick,
|
||||||
desc = " Projects (util.project)",
|
desc = " Projects (util.project)",
|
||||||
icon = " ",
|
icon = " ",
|
||||||
key = "P",
|
key = "p",
|
||||||
}
|
}
|
||||||
|
|
||||||
projects.desc = projects.desc .. string.rep(" ", 43 - #projects.desc)
|
projects.desc = projects.desc .. string.rep(" ", 43 - #projects.desc)
|
||||||
|
|
@ -177,7 +177,7 @@ return {
|
||||||
action = pick,
|
action = pick,
|
||||||
desc = "Projects (util.project)",
|
desc = "Projects (util.project)",
|
||||||
icon = " ",
|
icon = " ",
|
||||||
key = "P",
|
key = "p",
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue