Skip to content

Commit e077f96

Browse files
trying to customize highlight groups in gruvbox
1 parent 996dc5e commit e077f96

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

lua/sld/style.lua

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,19 @@ require('gruvbox-material').setup {
1717
signs = {
1818
highlight = true, -- whether to highlight signs
1919
},
20-
-- customize = funtion(str_group, opt_table) {},
20+
customize = function(group, opt)
21+
if group == 'Type' then
22+
opt.link = nil
23+
opt.fg = colors.blue
24+
end
25+
26+
if group == 'Macro' then
27+
opt.link = nil
28+
opt.fg = colors.purple
29+
end
30+
31+
return opt
32+
end,
2133
}
2234

2335
require('lualine').setup {

0 commit comments

Comments
 (0)