summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlight-group
diff options
context:
space:
mode:
Diffstat (limited to 'lua/no-clown-fiesta/highlight-group')
-rw-r--r--lua/no-clown-fiesta/highlight-group/treesitter.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/no-clown-fiesta/highlight-group/treesitter.lua b/lua/no-clown-fiesta/highlight-group/treesitter.lua
index 0aad575..f74e02d 100644
--- a/lua/no-clown-fiesta/highlight-group/treesitter.lua
+++ b/lua/no-clown-fiesta/highlight-group/treesitter.lua
@@ -7,12 +7,12 @@ function M.highlight(palette, options)
["@comment"] = vim.tbl_extend(
"force",
{ fg = palette.medium_gray },
- options.style.comments
+ options.styles.comments
),
["@annotation"] = { fg = palette.white },
["@attribute"] = { fg = palette.white },
["@constructor"] = { fg = palette.cyan },
- ["@type"] = vim.tbl_extend("force", { fg = palette.white }, options.style.type),
+ ["@type"] = vim.tbl_extend("force", { fg = palette.white }, options.styles.type),
["@type.builtin"] = { fg = palette.white },
["@conditional"] = { fg = palette.gray_blue },
["@exception"] = { fg = palette.red },
@@ -20,12 +20,12 @@ function M.highlight(palette, options)
["@keyword"] = vim.tbl_extend(
"force",
{ fg = palette.gray_blue },
- options.style.keywords
+ options.styles.keywords
),
["@keyword.function"] = vim.tbl_extend(
"force",
{ fg = palette.gray_blue },
- options.style.keywords
+ options.styles.keywords
),
["@label"] = { fg = palette.white },
["@namespace"] = { fg = palette.white },
@@ -40,7 +40,7 @@ function M.highlight(palette, options)
["@function"] = vim.tbl_extend(
"force",
{ fg = palette.cyan },
- options.style.functions
+ options.styles.functions
),
["@function.builtin"] = { fg = palette.cyan },
["@method"] = { fg = palette.cyan },
@@ -49,7 +49,7 @@ function M.highlight(palette, options)
["@variable"] = vim.tbl_extend(
"force",
{ fg = palette.white },
- options.style.variables
+ options.styles.variables
),
["@variable.builtin"] = { fg = palette.white },
["@property"] = { fg = palette.white },