mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(alpha): use dashboard hightlight groups for more plugin compatibility
This commit is contained in:
parent
432e9bfe72
commit
f7cbdef0e4
1 changed files with 5 additions and 5 deletions
|
|
@ -250,12 +250,12 @@ return {
|
|||
dashboard.button("q", " " .. " Quit", ":qa<CR>"),
|
||||
}
|
||||
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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue