return { "goolord/alpha-nvim", event = "VimEnter", config = function() local alpha = require("alpha") local dashboard = require("alpha.themes.dashboard") -- Set header dashboard.section.header.val = { " ", " ", " ", " ", " ", " ", " ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ", " ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ", " ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ", " ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ", " ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ", " ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ", " ", } -- Set menu dashboard.section.buttons.val = { dashboard.button("?", "? > Help", "WhichKey", { desc = "Help/Search backward" }), -- dashboard.button("SPC l", "L > Lazy", "Lazy", { desc = "Lazy" }), -- dashboard.button("SPC m", "M > Mason", "Mason", { desc = "Mason" }), dashboard.button( "SPC ee", " > Toggle file explorer", "Neotree toggle", { desc = "Toggle file tree" } ), dashboard.button("SPC ff", "󰱼 > Find File", "Telescope find_files", { desc = "Find files" }), dashboard.button( "SPC sr", "󰁯 > Restore Session", "SessionRestore", { desc = "Restore session" } ), dashboard.button("q", " > Quit NVIM", "quit", { desc = "Quit" }), } -- Send config to alpha alpha.setup(dashboard.opts) -- Disable folding on alpha buffer vim.cmd([[autocmd FileType alpha setlocal nofoldenable]]) end, }