diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-29 13:26:26 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-29 13:26:26 +0200 |
commit | 632ba4fc4428b6ec7f6032abbac19ce993e7b643 (patch) | |
tree | 6692ce4e2fe7e61719b1f403c17a6bca09f31c6f /lua/no-clown-fiesta | |
parent | ea64f3b7c74601a5e39fe40f1cd2a43bb7761dff (diff) |
Fix typo
Diffstat (limited to 'lua/no-clown-fiesta')
-rw-r--r-- | lua/no-clown-fiesta/highlight-group/treesitter.lua | 12 | ||||
-rw-r--r-- | lua/no-clown-fiesta/highlights.lua | 16 |
2 files changed, 16 insertions, 12 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 }, diff --git a/lua/no-clown-fiesta/highlights.lua b/lua/no-clown-fiesta/highlights.lua index 5ed6169..a728962 100644 --- a/lua/no-clown-fiesta/highlights.lua +++ b/lua/no-clown-fiesta/highlights.lua @@ -22,7 +22,7 @@ function M.highlight(palette, options) Comment = vim.tbl_extend( "force", { fg = palette.medium_gray }, - options.style.comments + options.styles.comments ), Folded = { fg = palette.light_gray, bg = palette.alt_bg }, FoldColumn = { fg = palette.light_gray, bg = palette.alt_bg }, @@ -67,7 +67,11 @@ function M.highlight(palette, options) Question = { fg = palette.cyan }, EndOfBuffer = { fg = palette.bg }, NonText = { fg = palette.bg }, - Variable = vim.tbl_extend("force", { fg = palette.white }, options.style.variables), + Variable = vim.tbl_extend( + "force", + { fg = palette.white }, + options.styles.variables + ), String = { fg = palette.medium_gray_blue }, Character = { fg = palette.light_green }, Constant = { fg = palette.white }, @@ -75,16 +79,16 @@ function M.highlight(palette, options) Boolean = { fg = palette.red }, Float = { fg = palette.red }, Identifier = { fg = palette.white }, - Function = vim.tbl_extend("force", { fg = palette.cyan }, options.style.functions), + Function = vim.tbl_extend("force", { fg = palette.cyan }, options.styles.functions), Operator = { fg = palette.white }, - Type = vim.tbl_extend("force", { fg = palette.white }, options.style.type), + Type = vim.tbl_extend("force", { fg = palette.white }, options.styles.type), StorageClass = { fg = palette.gray_blue }, Structure = { fg = palette.gray_blue }, Typedef = { fg = palette.white }, Keyword = vim.tbl_extend( "force", { fg = palette.gray_blue }, - options.style.keywords + options.styles.keywords ), Statement = { fg = palette.gray_blue }, Conditional = { fg = palette.gray_blue }, @@ -104,7 +108,7 @@ function M.highlight(palette, options) SpecialComment = vim.tbl_extend( "force", { fg = palette.medium_gray }, - options.style.comments + options.styles.comments ), Underlined = { style = "underline" }, Bold = { style = "bold" }, |