dotfiles/.config/nvim/lua/plugins/extras/ui/dashboard-extended.lua
2024-06-01 22:09:26 +02:00

21 lines
1.5 KiB
Lua

return {
"nvimdev/dashboard-nvim",
opts = function(_, opts)
vim.api.nvim_create_autocmd("TabNewEntered", { command = "Dashboard" })
local logo = [[

████ ██████ █████ ██
███████████ █████ 
█████████ ███████████████████ ███ ███████████
█████████ ███ █████████████ █████ ██████████████
█████████ ██████████ █████████ █████ █████ ████ █████
███████████ ███ ███ █████████ █████ █████ ████ █████
██████ █████████████████████ ████ █████ █████ ████ ██████
]]
logo = string.rep("\n", 8) .. logo .. "\n\n"
opts.config.header = vim.split(logo, "\n")
return opts
end,
}