diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-05-10 02:10:16 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-05-10 02:10:16 +0200 |
commit | 239af63f1949e327166a2646bcff7656981e7987 (patch) | |
tree | 51bdd0e25c4192e1f245131cca2c687a5dc504e7 /lua/no-clown-fiesta/groups/telescope.lua | |
parent | 21be9cf6d7a0b578e4d834433d3c147e5a00f7a5 (diff) |
Set floating normal and telescope to transparent if enabled
Diffstat (limited to 'lua/no-clown-fiesta/groups/telescope.lua')
-rw-r--r-- | lua/no-clown-fiesta/groups/telescope.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/no-clown-fiesta/groups/telescope.lua b/lua/no-clown-fiesta/groups/telescope.lua index 7020fa4..cfd9a32 100644 --- a/lua/no-clown-fiesta/groups/telescope.lua +++ b/lua/no-clown-fiesta/groups/telescope.lua @@ -2,7 +2,10 @@ local M = {} function M.highlight(palette, opts) return { - TelescopeNormal = { fg = palette.fg, bg = palette.bg }, + TelescopeNormal = { + fg = palette.fg, + bg = opts.transparent and palette.none or palette.bg, + }, TelescopeSelection = { fg = palette.fg, bg = palette.accent }, TelescopeMatching = { fg = palette.orange, bold = true }, TelescopeBorder = { fg = palette.light_gray, bg = palette.bg }, |