diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-02-17 01:06:18 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-02-17 01:06:18 +0100 |
commit | 3cc38634521906c1fde85f2750f2d6c07413356d (patch) | |
tree | 43c2d3ca0dcaf66f1503e010c628e0b1f3c0616d | |
parent | fdabef9986882bef05efea8105d0485d0987e353 (diff) |
Add mason hl group
-rw-r--r-- | lua/no-clown-fiesta/groups/mason.lua | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/groups/mason.lua b/lua/no-clown-fiesta/groups/mason.lua new file mode 100644 index 0000000..256764d --- /dev/null +++ b/lua/no-clown-fiesta/groups/mason.lua @@ -0,0 +1,52 @@ +local M = {} + +function M.highlight(palette, opts) + return { + MasonNormal = { link = "NormalFloat" }, + MasonHeader = { + bold = true, + fg = palette.fg, + bg = palette.alt_bg, + default = true, + }, + MasonHeaderSecondary = { + bold = true, + fg = palette.fg, + bg = palette.alt_bg, + default = true, + }, + MasonHighlight = { fg = palette.fg, default = true }, + MasonHighlightBlock = { bg = palette.fg, fg = palette.gray, default = true }, + MasonHighlightBlockBold = { + bg = palette.accent, + fg = palette.orange, + bold = true, + default = true, + }, + MasonHighlightSecondary = { fg = palette.fg, default = true }, + MasonHighlightBlockSecondary = { + bg = palette.fg, + fg = palette.alt_bg, + default = true, + }, + MasonHighlightBlockBoldSecondary = { + bg = palette.fg, + fg = palette.alt_bg, + bold = true, + default = true, + }, + MasonLink = { link = "MasonHighlight", default = true }, + MasonMuted = { fg = palette.cursor_fg, default = true }, + MasonMutedBlock = { bg = palette.accent, fg = palette.fg, default = true }, + MasonMutedBlockBold = { + bg = palette.alt_bg, + fg = palette.fg, + bold = true, + default = true, + }, + MasonError = { fg = palette.red, default = true }, + MasonHeading = { bold = true, default = true }, + } +end + +return M |