summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/treesitter.lua
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 /lua/no-clown-fiesta/treesitter.lua
parent6859908ddee41f7b0121f3c2e3ef2262875291ba (diff)
Fix opts
Diffstat (limited to 'lua/no-clown-fiesta/treesitter.lua')
-rw-r--r--lua/no-clown-fiesta/treesitter.lua12
1 files changed, 6 insertions, 6 deletions
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 },