return { 'goolord/alpha-nvim', dependencies = { 'nvim-tree/nvim-web-devicons' }, event = 'VimEnter', config = function() local alpha = require 'alpha' local dashboard = require 'alpha.themes.dashboard' dashboard.section.header.val = { ' ', ' ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗', ' ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║', ' ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║', ' ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║', ' ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║', ' ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝', ' ', } dashboard.section.buttons.val = { dashboard.button('f', ' Find file', 'Telescope find_files'), dashboard.button('r', ' Recent files', 'Telescope oldfiles'), dashboard.button('g', ' Grep text', 'Telescope live_grep'), dashboard.button('c', ' Configuration', 'e $MYVIMRC'), dashboard.button('l', '󰒲 Lazy', 'Lazy'), dashboard.button('q', ' Quit', 'qa'), } alpha.setup(dashboard.opts) -- Disable folding on alpha buffer vim.api.nvim_create_autocmd('FileType', { pattern = 'alpha', callback = function() vim.opt_local.foldenable = false end, }) end, }