♻️ refactor(nvim): dashboard extended now uses the dashboard extra

This commit is contained in:
Sergio Laín 2024-11-22 17:17:33 +01:00
parent b115fae47d
commit 7fa233ba76
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438

View file

@ -1,7 +1,9 @@
return {
"nvimdev/dashboard-nvim",
opts = function(_, opts)
local logo = [[
{ import = "lazyvim.plugins.extras.ui.dashboard" },
{
"nvimdev/dashboard-nvim",
opts = function(_, opts)
local logo = [[
@ -12,8 +14,9 @@ return {
]]
logo = string.rep("\n", 8) .. logo .. "\n\n"
opts.config.header = vim.split(logo, "\n")
return opts
end,
logo = string.rep("\n", 8) .. logo .. "\n\n"
opts.config.header = vim.split(logo, "\n")
return opts
end,
},
}