fix: Conceal highlight not respecting transparent background (#40)

This commit is contained in:
2024-04-29 17:20:01 -03:00
parent fa25db55c4
commit ba538ab69e

View File

@@ -63,7 +63,7 @@ M.highlights = {
ColorColumn = { bg = p.bg1 }, ColorColumn = { bg = p.bg1 },
CursorLineNr = { fg = p.fg }, CursorLineNr = { fg = p.fg },
LineNr = { fg = p.bg4 }, LineNr = { fg = p.bg4 },
Conceal = { fg = p.grey, bg = p.bg1 }, Conceal = { fg = p.grey, bg = p.bg1 } + transparent_bg,
DiffAdd = { fg = p.none, bg = p.diff_add }, DiffAdd = { fg = p.none, bg = p.diff_add },
DiffChange = { fg = p.none, bg = p.diff_change }, DiffChange = { fg = p.none, bg = p.diff_change },
DiffDelete = { fg = p.none, bg = p.diff_delete }, DiffDelete = { fg = p.none, bg = p.diff_delete },
@@ -320,20 +320,20 @@ M.highlights = {
LspOperator = { link = "@operator" }, LspOperator = { link = "@operator" },
LspDecorator = { link = "@symbol" }, LspDecorator = { link = "@symbol" },
LspDeprecated = { link = "@text.strike" }, LspDeprecated = { link = "@text.strike" },
["@lsp.type.namespace"] = { link = "@namespace", default = true }, ["@lsp.type.namespace"] = { link = "@namespace", default = true },
["@lsp.type.type"] = { link = "@type", default = true }, ["@lsp.type.type"] = { link = "@type", default = true },
["@lsp.type.class"] = { link = "@type", default = true }, ["@lsp.type.class"] = { link = "@type", default = true },
["@lsp.type.enum"] = { link = "@type", default = true }, ["@lsp.type.enum"] = { link = "@type", default = true },
["@lsp.type.interface"] = { link = "@type", default = true }, ["@lsp.type.interface"] = { link = "@type", default = true },
["@lsp.type.struct"] = { link = "@structure", default = true }, ["@lsp.type.struct"] = { link = "@structure", default = true },
["@lsp.type.parameter"] = { link = "@parameter", default = true }, ["@lsp.type.parameter"] = { link = "@parameter", default = true },
["@lsp.type.variable"] = { link = "@variable", default = true }, ["@lsp.type.variable"] = { link = "@variable", default = true },
["@lsp.type.property"] = { link = "@property", default = true }, ["@lsp.type.property"] = { link = "@property", default = true },
["@lsp.type.enumMember"] = { link = "@constant", default = true }, ["@lsp.type.enumMember"] = { link = "@constant", default = true },
["@lsp.type.function"] = { link = "@function", default = true }, ["@lsp.type.function"] = { link = "@function", default = true },
["@lsp.type.method"] = { link = "@method", default = true }, ["@lsp.type.method"] = { link = "@method", default = true },
["@lsp.type.macro"] = { link = "@macro", default = true }, ["@lsp.type.macro"] = { link = "@macro", default = true },
["@lsp.type.decorator"] = { link = "@function", default = true }, ["@lsp.type.decorator"] = { link = "@function", default = true },
-- cmp -- cmp
CmpItemKindDefault = { fg = p.blue }, CmpItemKindDefault = { fg = p.blue },