From 3cc38634521906c1fde85f2750f2d6c07413356d Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 17 Feb 2023 01:06:18 +0100 Subject: Add mason hl group --- lua/no-clown-fiesta/groups/mason.lua | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 lua/no-clown-fiesta/groups/mason.lua (limited to 'lua') 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 -- cgit v1.2.3-70-g09d2