diff options
-rw-r--r-- | lua/no-clown-fiesta/highlight-group/treesitter.lua | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/lua/no-clown-fiesta/highlight-group/treesitter.lua b/lua/no-clown-fiesta/highlight-group/treesitter.lua index 0d3d1da..54fdfb6 100644 --- a/lua/no-clown-fiesta/highlight-group/treesitter.lua +++ b/lua/no-clown-fiesta/highlight-group/treesitter.lua @@ -2,58 +2,58 @@ local M = {} function M.highlight(palette, opts) return { - Comment = { fg = palette.medium_gray, style = opts.comments }, - Annotation = { fg = palette.white }, - Attribute = { fg = palette.white }, - Constructor = { fg = palette.white }, - Type = { fg = palette.white, style = opts.type }, - TypeBuiltin = { fg = palette.white }, - Conditional = { fg = palette.gray_blue }, - Exception = { fg = palette.red }, - Include = { fg = palette.red }, - Keyword = { fg = palette.gray_blue, style = opts.keywords }, - KeywordFunction = { fg = palette.gray_blue, style = opts.keywords }, - Label = { fg = palette.white }, - Namespace = { fg = palette.white }, - Repeat = { fg = palette.gray_blue }, - Constant = { fg = palette.white }, - ConstBuiltin = { fg = palette.red }, - Float = { fg = palette.red }, - Number = { fg = palette.red }, - Boolean = { fg = palette.red }, - Character = { fg = palette.light_green }, - Error = { fg = palette.error_red }, - Function = { fg = palette.cyan, style = opts.functions }, - FuncBuiltin = { fg = palette.cyan }, - Method = { fg = palette.cyan }, - ConstMacro = { fg = palette.cyan }, - FuncMacro = { fg = palette.cyan }, - Variable = { fg = palette.white, style = opts.variables }, - VariableBuiltin = { fg = palette.white }, - Property = { fg = palette.white }, - Operator = { fg = palette.white }, - Field = { fg = palette.white }, - Parameter = { fg = palette.white }, - ParameterReference = { fg = palette.white }, - Symbol = { fg = palette.medium_gray }, - Text = { fg = palette.fg }, - PunctDelimiter = { fg = palette.white }, - TagDelimiter = { fg = palette.white }, - PunctBracket = { fg = palette.white }, - PunctSpecial = { fg = palette.medium_gray }, - String = { fg = palette.medium_gray_blue }, - StringRegex = { fg = palette.medium_gray_blue }, - StringEscape = { fg = palette.medium_gray_blue }, - Tag = { fg = palette.pale_purple }, - Emphasis = { style = "italic" }, - Underline = { style = "underline" }, - Title = { fg = palette.medium_gray }, - Literal = { fg = palette.medium_gray }, - URI = { fg = palette.cyan, style = "underline" }, - KeywordOperator = { fg = palette.gray_blue }, - Structure = { fg = palette.purple_test }, - Strong = { fg = palette.medium_gray }, - QueryLinterError = { fg = palette.warning_orange }, + ["@comment"] = { fg = palette.medium_gray, style = opts.comments }, + ["@annotation"] = { fg = palette.white }, + ["@attribute"] = { fg = palette.white }, + ["@constructor"] = { fg = palette.white }, + ["@type"] = { fg = palette.white, style = opts.type }, + ["@type.builtin"] = { fg = palette.white }, + ["@conditional"] = { fg = palette.gray_blue }, + ["@exception"] = { fg = palette.red }, + ["@include"] = { fg = palette.red }, + ["@keyword"] = { fg = palette.gray_blue, style = opts.keywords }, + ["@keyword.function"] = { fg = palette.gray_blue, style = opts.keywords }, + ["@label"] = { fg = palette.white }, + ["@namespace"] = { fg = palette.white }, + ["@repeat"] = { fg = palette.gray_blue }, + ["@constant"] = { fg = palette.white }, + ["@const.builtin"] = { fg = palette.red }, + ["@float"] = { fg = palette.red }, + ["@number"] = { fg = palette.red }, + ["@boolean"] = { fg = palette.red }, + ["@character"] = { fg = palette.light_green }, + ["@error"] = { fg = palette.error_red }, + ["@function"] = { fg = palette.cyan, style = opts.functions }, + ["@function.builtin"] = { fg = palette.cyan }, + ["@method"] = { fg = palette.cyan }, + ["@const.macro"] = { fg = palette.cyan }, + ["@function.macro"] = { fg = palette.cyan }, + ["@variable"] = { fg = palette.white, style = opts.variables }, + ["@variable.builtin"] = { fg = palette.white }, + ["@property"] = { fg = palette.white }, + ["@operator"] = { fg = palette.white }, + ["@field"] = { fg = palette.white }, + ["@parameter"] = { fg = palette.white }, + ["@parameter.reference"] = { fg = palette.white }, + ["@symbol"] = { fg = palette.medium_gray }, + ["@text"] = { fg = palette.fg }, + ["@punctuation.delimiter"] = { fg = palette.white }, + ["@tag.delimiter"] = { fg = palette.white }, + ["@punctuation.bracket"] = { fg = palette.white }, + ["@punctuation.special"] = { fg = palette.medium_gray }, + ["@string"] = { fg = palette.medium_gray_blue }, + ["@string.regex"] = { fg = palette.medium_gray_blue }, + ["@string.escape"] = { fg = palette.medium_gray_blue }, + ["@tag"] = { fg = palette.pale_purple }, + ["@emphasis"] = { style = "italic" }, + ["@underline"] = { style = "underline" }, + ["@title"] = { fg = palette.medium_gray }, + ["@literal"] = { fg = palette.medium_gray }, + ["@uri"] = { fg = palette.cyan, style = "underline" }, + ["@keyword.operator"] = { fg = palette.gray_blue }, + ["@structure"] = { fg = palette.purple_test }, + ["@strong"] = { fg = palette.medium_gray }, + ["@query.linter.error"] = { fg = palette.warning_orange }, } end |