♻️ refactor(nvim): dashboard extended now uses the dashboard extra
This commit is contained in:
parent
b115fae47d
commit
7fa233ba76
1 changed files with 10 additions and 7 deletions
|
@ -1,7 +1,9 @@
|
||||||
return {
|
return {
|
||||||
"nvimdev/dashboard-nvim",
|
{ import = "lazyvim.plugins.extras.ui.dashboard" },
|
||||||
opts = function(_, opts)
|
{
|
||||||
local logo = [[
|
"nvimdev/dashboard-nvim",
|
||||||
|
opts = function(_, opts)
|
||||||
|
local logo = [[
|
||||||
|
|
||||||
████ ██████ █████ ██
|
████ ██████ █████ ██
|
||||||
███████████ █████
|
███████████ █████
|
||||||
|
@ -12,8 +14,9 @@ return {
|
||||||
██████ █████████████████████ ████ █████ █████ ████ ██████
|
██████ █████████████████████ ████ █████ █████ ████ ██████
|
||||||
]]
|
]]
|
||||||
|
|
||||||
logo = string.rep("\n", 8) .. logo .. "\n\n"
|
logo = string.rep("\n", 8) .. logo .. "\n\n"
|
||||||
opts.config.header = vim.split(logo, "\n")
|
opts.config.header = vim.split(logo, "\n")
|
||||||
return opts
|
return opts
|
||||||
end,
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue