Skip to content

Commit 44fec4a

Browse files
committed
fix(hues): do not use {} in nvim_set_hl for plugin groups
Details: - This clears the highlight group which makes `hi default link Aaa Bbb` actually apply link and not leave `Aaa` cleared. Prefer to always supply something instead, usually link to other group (like `Normal`). Related to #2047
1 parent 7b956ba commit 44fec4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/mini/hues.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ MiniHues.apply_palette = function(palette, plugins)
993993
hi('MiniStarterFooter', { link='Comment' })
994994
hi('MiniStarterHeader', { fg=p.accent, bg=nil, bold=true })
995995
hi('MiniStarterInactive', { link='Comment' })
996-
hi('MiniStarterItem', { fg=nil, bg=nil })
996+
hi('MiniStarterItem', { link = 'Normal' })
997997
hi('MiniStarterItemBullet', { fg=p.fg_mid2, bg=nil })
998998
hi('MiniStarterItemPrefix', { fg=p.yellow, bg=nil, bold=true })
999999
hi('MiniStarterSection', { fg=p.purple, bg=nil })

0 commit comments

Comments
 (0)