summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlights.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-29 13:04:54 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-29 13:04:54 +0200
commit75d4dda89f3babc358ce51ec5daff0deca7bd90a (patch)
tree27ed063e0a5850cf7ae8014cadab895c7bc141dd /lua/no-clown-fiesta/highlights.lua
parent6f421c5c83c657552de2a6d2932ff23c7bc30cdb (diff)
Unpack style
Diffstat (limited to 'lua/no-clown-fiesta/highlights.lua')
-rw-r--r--lua/no-clown-fiesta/highlights.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/no-clown-fiesta/highlights.lua b/lua/no-clown-fiesta/highlights.lua
index 131077b..5efc1a9 100644
--- a/lua/no-clown-fiesta/highlights.lua
+++ b/lua/no-clown-fiesta/highlights.lua
@@ -19,7 +19,7 @@ function M.highlight(palette, options)
PmenuSel = { fg = palette.blue, bg = palette.alt_bg },
WildMenu = { fg = palette.blue, bg = palette.alt_bg },
CursorLineNr = { fg = palette.light_gray, style = "bold" },
- Comment = { fg = palette.medium_gray, style = options.style.comments },
+ Comment = { fg = palette.medium_gray, unpack(options.style.comments) },
Folded = { fg = palette.light_gray, bg = palette.alt_bg },
FoldColumn = { fg = palette.light_gray, bg = palette.alt_bg },
LineNr = { fg = palette.gray },
@@ -63,7 +63,7 @@ function M.highlight(palette, options)
Question = { fg = palette.cyan },
EndOfBuffer = { fg = palette.bg },
NonText = { fg = palette.bg },
- Variable = { fg = palette.white, style = options.style.variables },
+ Variable = { fg = palette.white, unpack(options.style.variables) },
String = { fg = palette.medium_gray_blue },
Character = { fg = palette.light_green },
Constant = { fg = palette.white },
@@ -71,13 +71,13 @@ function M.highlight(palette, options)
Boolean = { fg = palette.red },
Float = { fg = palette.red },
Identifier = { fg = palette.white },
- Function = { fg = palette.cyan, style = options.style.functions },
+ Function = { fg = palette.cyan, unpack(options.style.functions) },
Operator = { fg = palette.white },
- Type = { fg = palette.white, style = options.style.type },
+ Type = { fg = palette.white, unpack(options.style.type) },
StorageClass = { fg = palette.gray_blue },
Structure = { fg = palette.gray_blue },
Typedef = { fg = palette.white },
- Keyword = { fg = palette.gray_blue, style = options.style.keywords },
+ Keyword = { fg = palette.gray_blue, unpack(options.style.keywords) },
Statement = { fg = palette.gray_blue },
Conditional = { fg = palette.gray_blue },
Repeat = { fg = palette.gray_blue },
@@ -93,7 +93,7 @@ function M.highlight(palette, options)
Tag = { fg = palette.pale_purple },
Debug = { fg = palette.red },
Delimiter = { fg = palette.white },
- SpecialComment = { fg = palette.medium_gray, style = options.style.comments },
+ SpecialComment = { fg = palette.medium_gray, unpack(options.style.comments) },
Underlined = { style = "underline" },
Bold = { style = "bold" },
Italic = { style = "italic" },