mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(util.project): different mapping on dashboard than snacks.projects
This commit is contained in:
parent
cb223553ff
commit
2f098125fd
1 changed files with 6 additions and 6 deletions
|
|
@ -126,7 +126,7 @@ return {
|
|||
"goolord/alpha-nvim",
|
||||
optional = true,
|
||||
opts = function(_, dashboard)
|
||||
local button = dashboard.button("p", " " .. " Projects", pick)
|
||||
local button = dashboard.button("P", " " .. " Projects (util.project)", pick)
|
||||
button.opts.hl = "AlphaButtons"
|
||||
button.opts.hl_shortcut = "AlphaShortcut"
|
||||
table.insert(dashboard.section.buttons.val, 4, button)
|
||||
|
|
@ -139,7 +139,7 @@ return {
|
|||
opts = function(_, opts)
|
||||
local items = {
|
||||
{
|
||||
name = "Projects",
|
||||
name = "Projects (util.project)",
|
||||
action = pick,
|
||||
section = string.rep(" ", 22) .. "Telescope",
|
||||
},
|
||||
|
|
@ -157,9 +157,9 @@ return {
|
|||
end
|
||||
local projects = {
|
||||
action = pick,
|
||||
desc = " Projects",
|
||||
desc = " Projects (util.project)",
|
||||
icon = " ",
|
||||
key = "p",
|
||||
key = "P",
|
||||
}
|
||||
|
||||
projects.desc = projects.desc .. string.rep(" ", 43 - #projects.desc)
|
||||
|
|
@ -175,9 +175,9 @@ return {
|
|||
opts = function(_, opts)
|
||||
table.insert(opts.dashboard.preset.keys, 3, {
|
||||
action = pick,
|
||||
desc = "Projects",
|
||||
desc = "Projects (util.project)",
|
||||
icon = " ",
|
||||
key = "p",
|
||||
key = "P",
|
||||
})
|
||||
end,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue