From bc45d9e53462f9f476552e0c1eac76397f970e1b Mon Sep 17 00:00:00 2001 From: hylo Date: Wed, 22 Mar 2023 23:34:25 +0100 Subject: [PATCH] fix: some more highlights --- lua/flatwhite/groups.lua | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/lua/flatwhite/groups.lua b/lua/flatwhite/groups.lua index 064a246..311c751 100644 --- a/lua/flatwhite/groups.lua +++ b/lua/flatwhite/groups.lua @@ -34,7 +34,7 @@ local function setup(configs) } return { - Normal = { fg = colors.fg, bg = colors.bg }, + Normal = colors.fw_base, NormalFloat = { fg = colors.fg, bg = colors.base6 }, Comment = { fg = colors.comment, italic = configs.italic_comment }, Constant = colors.fw_teal, @@ -54,17 +54,17 @@ local function setup(configs) Repeat = colors.fw_purple, Label = colors.fw_teal, Exception = colors.fw_purple, - PreProc = { fg = colors.yellow }, - Include = { fg = colors.purple }, - Define = { fg = colors.purple }, - Title = { fg = colors.cyan }, - Macro = { fg = colors.purple }, - PreCondit = { fg = colors.cyan }, - Type = { fg = colors.cyan }, - StorageClass = { fg = colors.pink }, - Structure = { fg = colors.yellow }, + PreProc = colors.fw_orange, + Include = colors.fw_purple, + Define = colors.fw_purple, + Title = colors.fw_teal, + Macro = colors.fw_base_bold, + PreCondit = colors.fw_teal, + Type = colors.fw_teal, + StorageClass = colors.fw_purple, + Structure = colors.fw_orange, TypeDef = { fg = colors.yellow }, - Special = { fg = colors.green, italic = true }, + Special = { fg = colors.green_text, bg = colors.green_bg, italic = true }, SpecialComment = { fg = colors.comment, italic = true }, Error = colors.fw_red, Todo = { fg = colors.blue_text, bg = colors.blue_bg, bold = true, italic = true }, @@ -81,11 +81,13 @@ local function setup(configs) StatusLineTerm = { fg = colors.white, bg = colors.black }, StatusLineTermNC = { fg = colors.comment }, Directory = colors.fw_teal, + MoreMsg = colors.fw_green, + ModeMsg = {bold = true}, DiffAdd = colors.fw_green, DiffChange = colors.fw_orange, DiffDelete = colors.fw_red, DiffText = { fg = colors.comment }, - ErrorMsg = { fg = colors.bright_red }, + ErrorMsg = colors.fw_red, VertSplit = { fg = colors.black }, Folded = { fg = colors.comment }, FoldColumn = {}, @@ -99,7 +101,7 @@ local function setup(configs) PmenuSel = { fg = colors.fg, bg = colors.base6 }, PmenuSbar = { bg = colors.menu }, PmenuThumb = { bg = colors.base3 }, - Question = { fg = colors.purple }, + Question = colors.fw_purple, QuickFixLine = { fg = colors.black, bg = colors.yellow }, SpecialKey = { fg = colors.nontext }, SpellBad = { fg = colors.bright_red, underline = true }, @@ -138,7 +140,7 @@ local function setup(configs) ["@attribute"] = colors.fw_blue, ["@namespace"] = colors.fw_base, ["@function.builtin"] = colors.fw_base_bold, - ["@function"] = colors.fw_base_bold, + ["@function"] = colors.fw_yellow, ["@function.macro"] = colors.fw_base_bold, ["@parameter"] = colors.fw_base, ["@parameter.reference"] = colors.fw_base, @@ -168,7 +170,7 @@ local function setup(configs) ["@text.underline"] = { fg = colors.orange_text, bg = colors.orange_bg, underline = true }, ["@text.title"] = { fg = colors.purple_text, bg = colors.purple_bg, bold = true }, -- title ["@text.literal"] = colors.fw_orange, - ["@text.uri"] = { fg = colors.blue_text, bg = colors.blue_bg, italic = true }, -- urls + ["@text.uri"] = { fg = colors.blue_text, bg = colors.blue_bg, italic = true }, -- urls ["@text.reference"] = { fg = colors.orange_text, bg = colors.orange_bg, bold = true }, ["@tag"] = colors.fw_purple, ["@tag.attribute"] = { fg = colors.base2, bg = colors.base7, italic = true }, @@ -422,7 +424,7 @@ local function setup(configs) NeogitRemote = colors.fw_green, NeogitDiffAddHighlight = colors.fw_green, NeogitDiffDeleteHighlight = colors.fw_red, - NeogitDiffContextHighlight = { bg = colors.base5 }, --{bold = true}, + NeogitDiffContextHighlight = { bg = colors.base5 }, --{bold = true}, NeogitHunkHeader = colors.fw_purple, -- NeogitHunkHeaderHighlight = {reverse = true}, } -- 2.30.2