How to change background color for file list window or globablly as well as the search input? #1580
-
Seems changing FzfLuaFzfNormal bg to any color other than none works, but not Note: bg_float_configured is just a variable that changes based on transparent opt for my theme, either
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That’s most likely because the highlight @none is cleared (I.e. no bg color) but for fzf colors, the bg color needs an actual value to be sent to fzf’s :FzfLua files fzf_colors.bg=-1 If this is what you’re after add this to your setup (with the latest commit): require('fzf-lua').setup({
fzf_colors = {
true, -- auto generate rest of fzf’s highlights?
bg = '-1',
gutter = '-1', -- I like this one too, try with and without
}
}) |
Beta Was this translation helpful? Give feedback.
That’s most likely because the highlight @none is cleared (I.e. no bg color) but for fzf colors, the bg color needs an actual value to be sent to fzf’s
--color
flag, for this (and also “gutter” there’s a better alternative, set the flag directly to-1
:If this is what you’re after add this to your setup (with the latest commit):