summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlight-group/treesitter.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-29 13:26:26 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-10-29 13:26:26 +0200
commit632ba4fc4428b6ec7f6032abbac19ce993e7b643 (patch)
tree6692ce4e2fe7e61719b1f403c17a6bca09f31c6f /lua/no-clown-fiesta/highlight-group/treesitter.lua
parentea64f3b7c74601a5e39fe40f1cd2a43bb7761dff (diff)
Fix typo
Diffstat (limited to 'lua/no-clown-fiesta/highlight-group/treesitter.lua')
-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 },