diff --git a/lua/astrobox/highlights/modules/c.lua b/lua/astrobox/highlights/modules/c.lua index 012d562..4341360 100644 --- a/lua/astrobox/highlights/modules/c.lua +++ b/lua/astrobox/highlights/modules/c.lua @@ -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 diff --git a/lua/astrobox/highlights/modules/syntax.lua b/lua/astrobox/highlights/modules/syntax.lua index dacee2f..075a782 100644 --- a/lua/astrobox/highlights/modules/syntax.lua +++ b/lua/astrobox/highlights/modules/syntax.lua @@ -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" },