Fixed broken colors and documentation comments italics

This commit is contained in:
2023-12-10 10:29:58 +01:00
parent b4d05200d3
commit c6d24242e5
3 changed files with 17 additions and 14 deletions

View File

@@ -12,7 +12,7 @@ return function(palette)
Directory = { fg = palette.blue, bg = palette.none }, Directory = { fg = palette.blue, bg = palette.none },
QuickFixLine = palette.ui.selection, QuickFixLine = palette.ui.selection,
MatchParen = { fg = palette.none, bg = palette.none, bold = true, underline = true }, MatchParen = { fg = palette.none, bg = palette.none, bold = true, underline = true },
Underlined = { fg = palette.cyan, bg = palette.none, underline = true }, Underlined = { fg = palette.aqua, bg = palette.none, underline = true },
-- Popup -- Popup

View File

@@ -11,7 +11,7 @@ return function(palette)
Error = { fg = palette.red, bg = palette.none }, Error = { fg = palette.red, bg = palette.none },
Exception = { link = "Keyword" }, Exception = { link = "Keyword" },
Float = { link = "Number" }, Float = { link = "Number" },
Function = { fg = palette.fg_gradiant[1], bg = palette.none }, Function = { fg = palette.blue, bg = palette.none },
Identifier = { fg = palette.fg, bg = palette.none }, Identifier = { fg = palette.fg, bg = palette.none },
Ignore = { fg = palette.none, bg = palette.none }, Ignore = { fg = palette.none, bg = palette.none },
Include = { link = "Keyword" }, Include = { link = "Keyword" },
@@ -58,16 +58,16 @@ return function(palette)
["@character.special"] = { link = "SpecialChar" }, ["@character.special"] = { link = "SpecialChar" },
["@class"] = { fg = palette.yellow }, ["@class"] = { fg = palette.yellow },
["@comment"] = { link = "Comment" }, ["@comment"] = { link = "Comment" },
["@comment.documentation"] = { fg = palette.gray, italic = false }, ["@comment.documentation"] = { fg = palette.gray, bg = palette.none, nocombine = true },
["@conditional"] = { link = "Conditional" }, ["@conditional"] = { link = "Conditional" },
["@constant"] = { link = "Constant" }, ["@constant"] = { link = "Constant" },
["@constant.builtin"] = { link = "@constant" }, ["@constant.builtin"] = { link = "@constant" },
["@constant.macro"] = { link = "@constant" }, ["@constant.macro"] = { link = "@constant" },
["@constructor"] = { fg = palette.fg_gradiant[1], bold = true }, ["@constructor"] = { fg = palette.green, bold = true },
["@debug"] = { link = "Debug" }, ["@debug"] = { link = "Debug" },
["@decorator"] = { fg = palette.orange }, ["@decorator"] = { fg = palette.orange },
["@define"] = { link = "Define" }, ["@define"] = { link = "Define" },
["@enum"] = { fg = palette.cyan }, ["@enum"] = { fg = palette.aqua },
["@enumMember"] = { fg = palette.blue }, ["@enumMember"] = { fg = palette.blue },
["@error"] = { link = "Error" }, ["@error"] = { link = "Error" },
["@event"] = { fg = palette.orange }, ["@event"] = { fg = palette.orange },
@@ -80,19 +80,19 @@ return function(palette)
["@interface"] = { fg = palette.orange }, ["@interface"] = { fg = palette.orange },
["@keyword"] = { link = "Keyword" }, ["@keyword"] = { link = "Keyword" },
["@label"] = { link = "Label" }, ["@label"] = { link = "Label" },
["@method"] = { fg = palette.fg_gradiant[1] }, ["@method"] = { link = "Function" },
["@modifier"] = { fg = palette.orange }, ["@modifier"] = { fg = palette.orange },
["@namespace"] = { fg = palette.fg_gradiant[2] }, ["@namespace"] = { fg = palette.fg_gradiant[2] },
["@none"] = { link = "Conceal" }, ["@none"] = { link = "Conceal" },
["@number"] = { link = "Number" }, ["@number"] = { link = "Number" },
["@operator"] = { link = "Operator" }, ["@operator"] = { link = "Operator" },
["@parameter"] = { fg = palette.fg_gradiant[1] }, ["@parameter"] = { fg = palette.fg_gradiant[2] },
["@preproc"] = { link = "PreProc" }, ["@preproc"] = { link = "PreProc" },
["@property"] = { link = "@field" }, ["@property"] = { link = "@field" },
["@punctuation.bracket"] = { link = "Identifier" }, ["@punctuation.bracket"] = { link = "Identifier" },
["@punctuation.delimiter"] = { fg = palette.orange }, ["@punctuation.delimiter"] = { fg = palette.orange },
["@punctuation.special"] = { link = "Special" }, ["@punctuation.special"] = { link = "Special" },
["@regexp"] = { fg = palette.cyan }, ["@regexp"] = { fg = palette.aqua },
["@repeat"] = { link = "Repeat" }, ["@repeat"] = { link = "Repeat" },
["@storageclass"] = { link = "StorageClass" }, ["@storageclass"] = { link = "StorageClass" },
["@storageclass.lifeTime"] = { fg = palette.purple }, ["@storageclass.lifeTime"] = { fg = palette.purple },
@@ -153,17 +153,20 @@ return function(palette)
["@lsp.type.keyword"] = { link = "Keyword" }, ["@lsp.type.keyword"] = { link = "Keyword" },
["@lsp.type.lifeTime"] = { fg = palette.purple }, ["@lsp.type.lifeTime"] = { fg = palette.purple },
["@lsp.type.method"] = { link = "@method" }, ["@lsp.type.method"] = { link = "@method" },
["@lsp.type.namespace"] = { fg = palette.fg_gradiant[1] }, ["@lsp.type.namespace"] = { fg = palette.fg_gradiant[2] },
["@lsp.type.operator"] = { link = "Operator" }, ["@lsp.type.operator"] = { link = "Operator" },
["@lsp.type.parameter"] = { link = "@parameter" }, ["@lsp.type.parameter"] = { link = "@parameter" },
["@lsp.type.property"] = { link = "@property" }, ["@lsp.type.property"] = { link = "@property" },
["@lsp.type.selfTypeKeyword"] = { fg = palette.aqua, bold = true }, ["@lsp.type.selfTypeKeyword"] = { fg = palette.green, bold = true },
["@lsp.type.string"] = { link = "@string" },
["@lsp.type.struct"] = { link = "@struct" }, ["@lsp.type.struct"] = { link = "@struct" },
["@lsp.type.typeParameter"] = { link = "@type" }, ["@lsp.type.typeParameter"] = { link = "@type" },
["@lsp.type.variable"] = { link = "@variable" }, ["@lsp.type.variable"] = { link = "@variable" },
["@lsp.typemod.class.constructorOrDestructor"] = { link = "@constructor" }, ["@lsp.typemod.class.constructorOrDestructor"] = { link = "@constructor" },
["@lsp.typemod.comment.documentation"] = { link = "@comment.documentation" },
["@lsp.typemod.derive.attribute"] = { fg = palette.blue },
["@lsp.typemod.method"] = { link = "@method" }, ["@lsp.typemod.method"] = { link = "@method" },
["@lsp.typemod.selfKeyword"] = { fg = palette.fg_gradiant[1], bold = true }, ["@lsp.typemod.selfKeyword"] = { fg = palette.fg, bold = true },
["@lsp.typemod.string.attribute"] = { link = "String" }, -- Hmmmm ["@lsp.typemod.string.attribute"] = { link = "String" }, -- Hmmmm
["@lsp.typemod.variable.readonly"] = { link = "Constant" }, ["@lsp.typemod.variable.readonly"] = { link = "Constant" },
} }

View File

@@ -33,8 +33,8 @@ return function(config)
float = { float = {
title = palette.green, title = palette.green,
title2 = palette.aqua, title2 = palette.aqua,
border = palette.fg_gradiant[2], border = palette.fg_gradiant[3],
text = palette.fg_gradiant[1], text = palette.fg_gradiant[2],
scroll = palette.blue, scroll = palette.blue,
}, },
winbar = { winbar = {
@@ -55,7 +55,7 @@ return function(config)
palette.other = { palette.other = {
conceal = palette.bg_gradiant[3], conceal = palette.bg_gradiant[3],
hard_bg = palette.harder_bg, hard_bg = palette.harder_bg,
bg_active = palette.bg_gradiant[1], bg_active = palette.softer_bg,
-- Special HL group to find what a group maps to -- Special HL group to find what a group maps to
error_hl = { fg = "#000000", bg = "#FF00FF" }, error_hl = { fg = "#000000", bg = "#FF00FF" },