From d380b66d816660dcb709927aed0a8369473a7e5a Mon Sep 17 00:00:00 2001 From: Webhooked Date: Thu, 8 May 2025 09:00:30 +0200 Subject: [PATCH] Revert Normal highlight to fix transparent background issues --- lua/kanso/highlights/editor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/kanso/highlights/editor.lua b/lua/kanso/highlights/editor.lua index f5959bb..e6c2996 100644 --- a/lua/kanso/highlights/editor.lua +++ b/lua/kanso/highlights/editor.lua @@ -74,7 +74,7 @@ function M.setup(colors, config) -- NonText '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|. NonText = { fg = theme.ui.nontext }, -- Normal Normal text. - Normal = { fg = theme.ui.fg, bg = theme.ui.none }, + Normal = { fg = theme.ui.fg, bg = not config.transparent and theme.ui.bg or "NONE" }, -- NormalFloat Normal text in floating windows. NormalFloat = { fg = theme.ui.float.fg, bg = theme.ui.float.bg }, -- FloatBorder Border of floating windows.