Color fixes C/C++

This commit is contained in:
2023-12-21 12:16:19 +01:00
parent c6d24242e5
commit 27733590d2
2 changed files with 7 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ return function(palette)
Number = { fg = palette.yellow, bg = palette.none },
Operator = { fg = palette.orange, bg = palette.none },
PreCondit = { link = "PreProc" },
PreProc = { fg = palette.gray, bg = palette.none },
PreProc = { fg = palette.bg_gradiant[4], bg = palette.none },
Repeat = { link = "Keyword" },
Special = { fg = palette.blue, bg = palette.none },
SpecialChar = { fg = palette.aqua, bg = palette.none },
@@ -56,7 +56,7 @@ return function(palette)
["@boolean"] = { link = "Boolean" },
["@character"] = { link = "Character" },
["@character.special"] = { link = "SpecialChar" },
["@class"] = { fg = palette.yellow },
["@class"] = { link = "Type" },
["@comment"] = { link = "Comment" },
["@comment.documentation"] = { fg = palette.gray, bg = palette.none, nocombine = true },
["@conditional"] = { link = "Conditional" },
@@ -100,7 +100,7 @@ return function(palette)
["@string.escape"] = { fg = palette.red },
["@string.regex"] = { fg = palette.aqua },
["@string.special"] = { link = "Special" },
["@struct"] = { fg = palette.yellow },
["@struct"] = { link = "Type" },
["@symbol"] = { link = "Special" },
["@tag"] = { fg = palette.red },
["@tag.attribute"] = { fg = palette.yellow },
@@ -146,6 +146,7 @@ return function(palette)
["@lsp.mod.documentation"] = { link = "@comment.documentation" },
["@lsp.type"] = { link = "@type" },
["@lsp.type.attributeBracket"] = { fg = palette.orange },
["@lsp.type.class"] = { link = "@class" },
["@lsp.type.derive"] = { fg = palette.orange },
["@lsp.type.enum"] = { link = "@enum" },
["@lsp.type.enumMember"] = { link = "@enumMember" },