summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlights.lua
diff options
context:
space:
mode:
authorMarco Galli <marco.galli@protonmail.com>2022-06-14 23:15:47 +0200
committerGitHub <noreply@github.com>2022-06-14 23:15:47 +0200
commit699aa9cd153dd14c00405fa26a7b9d93aed6dbe2 (patch)
treeed15ddc99ae7d7fecf31b6c4732cd1b666dbcbf7 /lua/no-clown-fiesta/highlights.lua
parent5cb00c1486a53277545ccd23dfa5201881e6a7ec (diff)
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
Diffstat (limited to 'lua/no-clown-fiesta/highlights.lua')
-rw-r--r--lua/no-clown-fiesta/highlights.lua13
1 files changed, 7 insertions, 6 deletions
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