Color fixes C/C++
This commit is contained in:
@@ -2,5 +2,8 @@ return function()
|
||||
return {
|
||||
cInclude = { link = "PreProc" },
|
||||
cDefine = { link = "PreProc" }, -- Fix C ft setting this to Macro
|
||||
|
||||
["@include.c"] = { link = "PreProc" }, -- Not a keyword
|
||||
["@include.cpp"] = { link = "PreProc" },
|
||||
}
|
||||
end
|
||||
|
||||
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user