From dc9fb24c2785e444cac66d555069643b2304a9ff Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 29 Jul 2022 17:29:56 +0200 Subject: Fix opts --- lua/no-clown-fiesta/treesitter.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lua/no-clown-fiesta/treesitter.lua') 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 }, -- cgit v1.2.3-70-g09d2