From 239af63f1949e327166a2646bcff7656981e7987 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 10 May 2023 02:10:16 +0200 Subject: Set floating normal and telescope to transparent if enabled --- lua/no-clown-fiesta/groups/highlights.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lua/no-clown-fiesta/groups/highlights.lua') diff --git a/lua/no-clown-fiesta/groups/highlights.lua b/lua/no-clown-fiesta/groups/highlights.lua index 9beac4b..62a24a0 100644 --- a/lua/no-clown-fiesta/groups/highlights.lua +++ b/lua/no-clown-fiesta/groups/highlights.lua @@ -32,7 +32,9 @@ function M.highlight(palette, opts) CursorLine = { bg = palette.alt_bg }, CursorColumn = { bg = palette.alt_bg }, ColorColumn = { bg = palette.alt_bg }, - NormalFloat = { bg = palette.alt_bg }, + NormalFloat = { + bg = opts.transparent and palette.none or palette.alt_bg, + }, Visual = { bg = palette.gray }, VisualNOS = { bg = palette.alt_bg }, WarningMsg = { fg = palette.error, bg = palette.bg }, -- cgit v1.2.3-70-g09d2