From 7fa233ba76e754975926f1b88482c1ebfa69ee7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Fri, 22 Nov 2024 17:17:33 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(nvim):=20dashboar?= =?UTF-8?q?d=20extended=20now=20uses=20the=20dashboard=20extra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/extras/ui/dashboard-extended.lua | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/ui/dashboard-extended.lua b/.config/nvim/lua/plugins/extras/ui/dashboard-extended.lua index 44605916..d1903c49 100644 --- a/.config/nvim/lua/plugins/extras/ui/dashboard-extended.lua +++ b/.config/nvim/lua/plugins/extras/ui/dashboard-extended.lua @@ -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, + }, }