From 699aa9cd153dd14c00405fa26a7b9d93aed6dbe2 Mon Sep 17 00:00:00 2001 From: Marco Galli Date: Tue, 14 Jun 2022 23:15:47 +0200 Subject: Fix WinSeparator hl and make it consistent with Telescope window borders, also make the configuration variables actually work (#3) * Fix WinSeparator hl and make it consistent with Telescope border color * Make config variables work README configuration description * Remove useless comment --- lua/no-clown-fiesta/highlights.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'lua/no-clown-fiesta/highlights.lua') diff --git a/lua/no-clown-fiesta/highlights.lua b/lua/no-clown-fiesta/highlights.lua index 98c766b..5b562c8 100644 --- a/lua/no-clown-fiesta/highlights.lua +++ b/lua/no-clown-fiesta/highlights.lua @@ -1,5 +1,5 @@ local highlights = { - Normal = { fg = C.fg, bg = Config.transparent_background and "NONE" or C.bg }, + Normal = { fg = C.fg, bg = Config.transparent_background }, SignColumn = { bg = C.bg }, MsgArea = { fg = C.fg, bg = C.bg }, ModeMsg = { fg = C.fg, bg = C.bg }, @@ -13,7 +13,7 @@ local highlights = { PmenuSel = { fg = C.blue, bg = C.alt_bg }, WildMenu = { fg = C.blue, bg = C.alt_bg }, CursorLineNr = { fg = C.light_gray, style = "bold" }, - Comment = { fg = C.blue, style = "italic" }, + Comment = { fg = C.blue, style = Config.italic_comments }, Folded = { fg = C.light_gray, bg = C.alt_bg }, FoldColumn = { fg = C.light_gray, bg = C.alt_bg }, LineNr = { fg = C.gray }, @@ -54,7 +54,7 @@ local highlights = { Question = { fg = C.cyan }, EndOfBuffer = { fg = C.bg }, NonText = { fg = C.bg }, - Variable = { fg = C.white }, + Variable = { fg = C.white, style = Config.italic_variables }, String = { fg = C.blue }, Character = { fg = C.light_green }, Constant = { fg = C.orange }, @@ -62,13 +62,13 @@ local highlights = { Boolean = { fg = C.red }, Float = { fg = C.red }, Identifier = { fg = C.white }, - Function = { fg = C.purple }, + Function = { fg = C.purple, style = Config.italic_functions }, Operator = { fg = C.orange }, Type = { fg = C.white }, StorageClass = { fg = C.yellow }, Structure = { fg = C.orange }, Typedef = { fg = C.purple }, - Keyword = { fg = C.orange }, + Keyword = { fg = C.orange, style = Config.italic_keywords }, Statement = { fg = C.orange }, Conditional = { fg = C.orange }, Repeat = { fg = C.orange }, @@ -84,7 +84,7 @@ local highlights = { Tag = { fg = C.pale_purple }, Debug = { fg = C.red }, Delimiter = { fg = C.gray }, - SpecialComment = { fg = C.blue }, + SpecialComment = { fg = C.blue, style = Config.italic_comments }, Underlined = { style = "underline" }, Bold = { style = "bold" }, Italic = { style = "italic" }, @@ -94,6 +94,7 @@ local highlights = { TabLine = { fg = C.gray, bg = C.alt_bg }, TabLineSel = { fg = C.white, bg = C.alt_bg }, TabLineFill = { fg = C.white, bg = C.alt_bg }, + WinSeparator = { fg = C.medium_gray, bg = C.bg }, } return highlights -- cgit v1.2.3-70-g09d2