From f7cbdef0e4d10f7f538eb79613bb9243737b4bfe Mon Sep 17 00:00:00 2001 From: loichyan Date: Sat, 8 Apr 2023 18:08:00 +0800 Subject: [PATCH] fix(alpha): use dashboard hightlight groups for more plugin compatibility --- lua/lazyvim/plugins/ui.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/lazyvim/plugins/ui.lua b/lua/lazyvim/plugins/ui.lua index 2c43cc0c..0fbd74cc 100644 --- a/lua/lazyvim/plugins/ui.lua +++ b/lua/lazyvim/plugins/ui.lua @@ -250,12 +250,12 @@ return { dashboard.button("q", " " .. " Quit", ":qa"), } for _, button in ipairs(dashboard.section.buttons.val) do - button.opts.hl = "AlphaButtons" - button.opts.hl_shortcut = "AlphaShortcut" + button.opts.hl = "DashboardCenter" + button.opts.hl_shortcut = "DashboardShortCut" end - dashboard.section.header.opts.hl = "AlphaHeader" - dashboard.section.buttons.opts.hl = "AlphaButtons" - dashboard.section.footer.opts.hl = "AlphaFooter" + dashboard.section.header.opts.hl = "DashboardHeader" + dashboard.section.buttons.opts.hl = "DashboardCenter" + dashboard.section.footer.opts.hl = "DashboardFooter" dashboard.opts.layout[1].val = 8 return dashboard end,