summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/groups
diff options
context:
space:
mode:
Diffstat (limited to 'lua/no-clown-fiesta/groups')
-rw-r--r--lua/no-clown-fiesta/groups/lsp.lua2
-rw-r--r--lua/no-clown-fiesta/groups/treesitter.lua97
2 files changed, 51 insertions, 48 deletions
diff --git a/lua/no-clown-fiesta/groups/lsp.lua b/lua/no-clown-fiesta/groups/lsp.lua
index 553ec2c..1e6f2d6 100644
--- a/lua/no-clown-fiesta/groups/lsp.lua
+++ b/lua/no-clown-fiesta/groups/lsp.lua
@@ -35,6 +35,8 @@ function M.highlight(palette, opts)
),
LspSignatureActiveParameter = { bg = palette.alt_bg, bold = true },
LspCodeLens = { fg = palette.comment },
+ LspInlayHint = { bg = palette.hint },
+ LspInfoBoarder = { fg = palette.light_gray, bg = palette.hint },
}
end
diff --git a/lua/no-clown-fiesta/groups/treesitter.lua b/lua/no-clown-fiesta/groups/treesitter.lua
index dce369b..3731429 100644
--- a/lua/no-clown-fiesta/groups/treesitter.lua
+++ b/lua/no-clown-fiesta/groups/treesitter.lua
@@ -2,78 +2,79 @@ local M = {}
function M.highlight(palette, opts)
return {
+ ["@annotation"] = { fg = palette.white },
+ ["@attribute"] = { fg = palette.white },
+ ["@boolean"] = { fg = palette.red },
+ ["@character"] = { fg = palette.green },
["@comment"] = vim.tbl_extend(
"force",
{ fg = palette.medium_gray },
opts.styles.comments
),
- ["@annotation"] = { fg = palette.white },
- ["@attribute"] = { fg = palette.white },
+ ["@const.builtin"] = { fg = palette.red },
+ ["@const.macro"] = { fg = palette.cyan },
+ ["@constant"] = { fg = palette.white },
["@constructor"] = { fg = palette.cyan },
- ["@type"] = vim.tbl_extend("force", { fg = palette.white }, opts.styles.type),
- ["@type.builtin"] = { fg = palette.white },
- ["@conditional"] = { fg = palette.gray_blue },
- ["@exception"] = { fg = palette.red },
- ["@include"] = { fg = palette.red },
+ ["@error"] = { fg = palette.error },
+ ["@function"] = vim.tbl_extend(
+ "force",
+ { fg = palette.cyan },
+ opts.styles.functions
+ ),
+ ["@function.builtin"] = { fg = palette.cyan },
+ ["@function.macro"] = { fg = palette.cyan },
+ ["@function.method"] = { fg = palette.cyan },
+ ["@function.method.call"] = { fg = palette.cyan },
["@keyword"] = vim.tbl_extend(
"force",
{ fg = palette.gray_blue },
opts.styles.keywords
),
+ ["@keyword.conditional"] = { fg = palette.gray_blue },
+ ["@keyword.coroutine"] = { fg = palette.gray_blue },
+ ["@keyword.exception"] = { fg = palette.red },
["@keyword.function"] = vim.tbl_extend(
"force",
{ fg = palette.gray_blue },
opts.styles.keywords
),
+ ["@keyword.import"] = { fg = palette.red },
+ ["@keyword.operator"] = { fg = palette.gray_blue },
+ ["@keyword.repeat"] = { fg = palette.gray_blue },
["@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 },
+ ["@markup"] = { fg = palette.fg },
+ ["@markup.italic"] = { italic = true },
+ ["@markup.link"] = { fg = palette.medium_gray_blue },
+ ["@markup.list"] = { fg = palette.medium_gray },
+ ["@markup.literal"] = { fg = palette.medium_gray },
+ ["@markup.strong"] = { fg = palette.medium_gray },
+ ["@markup.title"] = { fg = palette.medium_gray },
+ ["@markup.underline"] = { underline = true },
+ ["@module"] = { fg = palette.white },
["@number"] = { fg = palette.red },
- ["@boolean"] = { fg = palette.red },
- ["@character"] = { fg = palette.green },
- ["@error"] = { fg = palette.error },
- ["@function"] = vim.tbl_extend(
- "force",
- { fg = palette.cyan },
- opts.styles.functions
- ),
- ["@function.builtin"] = { fg = palette.cyan },
- ["@method"] = { fg = palette.cyan },
- ["@const.macro"] = { fg = palette.cyan },
- ["@function.macro"] = { fg = palette.cyan },
+ ["@number.float"] = { fg = palette.red },
+ ["@operator"] = { fg = palette.white },
+ ["@property"] = { fg = palette.white },
+ ["@punctuation.bracket"] = { fg = palette.white },
+ ["@punctuation.delimiter"] = { fg = palette.white },
+ ["@string"] = { fg = palette.medium_gray_blue },
+ ["@string.escape"] = { fg = palette.medium_gray_blue },
+ ["@string.regexp"] = { fg = palette.medium_gray_blue },
+ ["@string.special.symbol"] = { fg = palette.medium_gray },
+ ["@tag"] = { fg = palette.blue },
+ ["@tag.attribute"] = { fg = palette.white },
+ ["@tag.delimiter"] = { fg = palette.white },
+ ["@type"] = vim.tbl_extend("force", { fg = palette.white }, opts.styles.type),
+ ["@type.builtin"] = { fg = palette.white },
["@variable"] = vim.tbl_extend(
"force",
{ fg = palette.white },
opts.styles.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.blue },
- ["@emphasis"] = { italic = true },
- ["@underline"] = { underline = true },
- ["@title"] = { fg = palette.medium_gray },
- ["@literal"] = { fg = palette.medium_gray },
- ["@uri"] = { fg = palette.cyan, underline = true },
- ["@keyword.operator"] = { fg = palette.gray_blue },
- ["@structure"] = { fg = palette.gray_blue },
- ["@strong"] = { fg = palette.medium_gray },
- ["@query.linter.error"] = { fg = palette.warning },
+ ["@variable.field"] = { fg = palette.white },
+ ["@variable.parameter"] = { fg = palette.white },
+ ["@variable.parameter.reference"] = { fg = palette.white },
}
end