summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-29 17:29:56 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-29 17:29:56 +0200
commitdc9fb24c2785e444cac66d555069643b2304a9ff (patch)
treeb564626819ef9496f4e5967290e9d46a5099fb48
parent6859908ddee41f7b0121f3c2e3ef2262875291ba (diff)
Fix opts
-rw-r--r--lua/no-clown-fiesta/highlights.lua10
-rw-r--r--lua/no-clown-fiesta/treesitter.lua12
2 files changed, 11 insertions, 11 deletions
diff --git a/lua/no-clown-fiesta/highlights.lua b/lua/no-clown-fiesta/highlights.lua
index 1174564..0085abc 100644
--- a/lua/no-clown-fiesta/highlights.lua
+++ b/lua/no-clown-fiesta/highlights.lua
@@ -16,7 +16,7 @@ function M.highlight(palette, opts)
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 = opts.italic_comments },
+ Comment = { fg = palette.medium_gray, style = opts.comments },
Folded = { fg = palette.light_gray, bg = palette.alt_bg },
FoldColumn = { fg = palette.light_gray, bg = palette.alt_bg },
LineNr = { fg = palette.gray },
@@ -61,7 +61,7 @@ function M.highlight(palette, opts)
Question = { fg = palette.cyan },
EndOfBuffer = { fg = palette.bg },
NonText = { fg = palette.bg },
- Variable = { fg = palette.white, style = opts.italic_variables },
+ Variable = { fg = palette.white, style = opts.variables },
String = { fg = palette.medium_gray_blue },
Character = { fg = palette.light_green },
Constant = { fg = palette.white },
@@ -69,13 +69,13 @@ function M.highlight(palette, opts)
Boolean = { fg = palette.red },
Float = { fg = palette.red },
Identifier = { fg = palette.white },
- Function = { fg = palette.gray_blue, style = opts.italic_functions },
+ Function = { fg = palette.gray_blue, style = opts.functions },
Operator = { fg = palette.white },
Type = { fg = palette.white },
StorageClass = { fg = palette.gray_blue },
Structure = { fg = palette.gray_blue },
Typedef = { fg = palette.white },
- Keyword = { fg = palette.gray_blue, style = opts.italic_keywords },
+ Keyword = { fg = palette.gray_blue, style = opts.keywords },
Statement = { fg = palette.gray_blue },
Conditional = { fg = palette.gray_blue },
Repeat = { fg = palette.gray_blue },
@@ -91,7 +91,7 @@ function M.highlight(palette, opts)
Tag = { fg = palette.pale_purple },
Debug = { fg = palette.red },
Delimiter = { fg = palette.gray },
- SpecialComment = { fg = palette.medium_gray, style = opts.italic_comments },
+ SpecialComment = { fg = palette.medium_gray, style = opts.comments },
Underlined = { style = "underline" },
Bold = { style = "bold" },
Italic = { style = "italic" },
diff --git a/lua/no-clown-fiesta/treesitter.lua b/lua/no-clown-fiesta/treesitter.lua
index 0f330df..665ac8a 100644
--- a/lua/no-clown-fiesta/treesitter.lua
+++ b/lua/no-clown-fiesta/treesitter.lua
@@ -2,17 +2,17 @@ local M = {}
function M.highlight(palette, opts)
return {
- TSComment = { fg = palette.medium_gray, style = opts.italic_comments },
+ TSComment = { fg = palette.medium_gray, style = opts.comments },
TSAnnotation = { fg = palette.white },
TSAttribute = { fg = palette.white },
TSConstructor = { fg = palette.white },
- TSType = { fg = palette.white, style = opts.bold_type },
+ TSType = { fg = palette.white, style = opts.type },
TSTypeBuiltin = { fg = palette.white },
TSConditional = { fg = palette.gray_blue },
TSException = { fg = palette.red },
TSInclude = { fg = palette.red },
- TSKeyword = { fg = palette.gray_blue, style = opts.italic_keywords },
- TSKeywordFunction = { fg = palette.gray_blue, style = opts.italic_keywords },
+ TSKeyword = { fg = palette.gray_blue, style = opts.keywords },
+ TSKeywordFunction = { fg = palette.gray_blue, style = opts.keywords },
TSLabel = { fg = palette.white },
TSNamespace = { fg = palette.white },
TSRepeat = { fg = palette.gray_blue },
@@ -23,12 +23,12 @@ function M.highlight(palette, opts)
TSBoolean = { fg = palette.red },
TSCharacter = { fg = palette.light_green },
TSError = { fg = palette.error_red },
- TSFunction = { fg = palette.cyan, style = opts.italic_functions },
+ TSFunction = { fg = palette.cyan, style = opts.functions },
TSFuncBuiltin = { fg = palette.cyan },
TSMethod = { fg = palette.cyan },
TSConstMacro = { fg = palette.cyan },
TSFuncMacro = { fg = palette.cyan },
- TSVariable = { fg = palette.white, style = opts.italic_variables },
+ TSVariable = { fg = palette.white, style = opts.variables },
TSVariableBuiltin = { fg = palette.white },
TSProperty = { fg = palette.white },
TSOperator = { fg = palette.white },