fix(extras): fix alpha-nvim non-string keycodes

This commit is contained in:
Gabriel Simões 2024-11-09 01:27:04 -05:00
parent 4876d1137d
commit 651fc4ec7e

View file

@ -23,11 +23,11 @@ return {
dashboard.section.header.val = vim.split(logo, "\n") dashboard.section.header.val = vim.split(logo, "\n")
-- stylua: ignore -- stylua: ignore
dashboard.section.buttons.val = { dashboard.section.buttons.val = {
dashboard.button("f", "" .. " Find file", LazyVim.pick()), dashboard.button("f", "" .. " Find file", "<cmd> lua LazyVim.pick()() <cr>"),
dashboard.button("n", "" .. " New file", [[<cmd> ene <BAR> startinsert <cr>]]), dashboard.button("n", "" .. " New file", [[<cmd> ene <BAR> startinsert <cr>]]),
dashboard.button("r", "" .. " Recent files", LazyVim.pick("oldfiles")), dashboard.button("r", "" .. " Recent files", [[<cmd> lua LazyVim.pick("oldfiles")() <cr>]]),
dashboard.button("g", "" .. " Find text", LazyVim.pick("live_grep")), dashboard.button("g", "" .. " Find text", [[<cmd> lua LazyVim.pick("live_grep")() <cr>]]),
dashboard.button("c", "" .. " Config", LazyVim.pick.config_files()), dashboard.button("c", "" .. " Config", "<cmd> lua LazyVim.pick.config_files()() <cr>"),
dashboard.button("s", "" .. " Restore Session", [[<cmd> lua require("persistence").load() <cr>]]), dashboard.button("s", "" .. " Restore Session", [[<cmd> lua require("persistence").load() <cr>]]),
dashboard.button("x", "" .. " Lazy Extras", "<cmd> LazyExtras <cr>"), dashboard.button("x", "" .. " Lazy Extras", "<cmd> LazyExtras <cr>"),
dashboard.button("l", "󰒲 " .. " Lazy", "<cmd> Lazy <cr>"), dashboard.button("l", "󰒲 " .. " Lazy", "<cmd> Lazy <cr>"),