From ba538ab69e8a4e3ebac127734b7deff9e7462463 Mon Sep 17 00:00:00 2001 From: tiagovla Date: Mon, 29 Apr 2024 17:20:01 -0300 Subject: [PATCH] fix: Conceal highlight not respecting transparent background (#40) --- lua/tokyodark/highlights.lua | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/lua/tokyodark/highlights.lua b/lua/tokyodark/highlights.lua index c15a42e..7f44885 100644 --- a/lua/tokyodark/highlights.lua +++ b/lua/tokyodark/highlights.lua @@ -63,7 +63,7 @@ M.highlights = { ColorColumn = { bg = p.bg1 }, CursorLineNr = { fg = p.fg }, 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 }, DiffChange = { fg = p.none, bg = p.diff_change }, DiffDelete = { fg = p.none, bg = p.diff_delete }, @@ -320,20 +320,20 @@ M.highlights = { LspOperator = { link = "@operator" }, LspDecorator = { link = "@symbol" }, LspDeprecated = { link = "@text.strike" }, - ["@lsp.type.namespace"] = { link = "@namespace", default = true }, - ["@lsp.type.type"] = { link = "@type", default = true }, - ["@lsp.type.class"] = { link = "@type", default = true }, - ["@lsp.type.enum"] = { link = "@type", default = true }, - ["@lsp.type.interface"] = { link = "@type", default = true }, - ["@lsp.type.struct"] = { link = "@structure", default = true }, - ["@lsp.type.parameter"] = { link = "@parameter", default = true }, - ["@lsp.type.variable"] = { link = "@variable", default = true }, - ["@lsp.type.property"] = { link = "@property", default = true }, - ["@lsp.type.enumMember"] = { link = "@constant", default = true }, - ["@lsp.type.function"] = { link = "@function", default = true }, - ["@lsp.type.method"] = { link = "@method", default = true }, - ["@lsp.type.macro"] = { link = "@macro", default = true }, - ["@lsp.type.decorator"] = { link = "@function", default = true }, + ["@lsp.type.namespace"] = { link = "@namespace", default = true }, + ["@lsp.type.type"] = { link = "@type", default = true }, + ["@lsp.type.class"] = { link = "@type", default = true }, + ["@lsp.type.enum"] = { link = "@type", default = true }, + ["@lsp.type.interface"] = { link = "@type", default = true }, + ["@lsp.type.struct"] = { link = "@structure", default = true }, + ["@lsp.type.parameter"] = { link = "@parameter", default = true }, + ["@lsp.type.variable"] = { link = "@variable", default = true }, + ["@lsp.type.property"] = { link = "@property", default = true }, + ["@lsp.type.enumMember"] = { link = "@constant", default = true }, + ["@lsp.type.function"] = { link = "@function", default = true }, + ["@lsp.type.method"] = { link = "@method", default = true }, + ["@lsp.type.macro"] = { link = "@macro", default = true }, + ["@lsp.type.decorator"] = { link = "@function", default = true }, -- cmp CmpItemKindDefault = { fg = p.blue },