Skip to content

FzfLua changes editor colors #1606

Answered by ibhagwan
stounfo asked this question in Q&A
Dec 19, 2024 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

this config reproduce the issue for me
The StatusLine changes when I run :FzfLua.

That's not a bug, there's a different highlight group when the statusline is not active StatusLineNC, if you run :Lazy you'll see the same effect (statusline color will change when the float win is open).

To "solve" this, set the hlgroup colors to same values as StatusLine (using the colors from the repro):

hi! StatusLineNC ctermbg=1 guifg=#828bb8 guibg=#1e2030

Now regarding the effect seen in the OP, not sure why that would be the effect in your setup but might be related to the backdrop (shading) of the background window, try running without backdrop:

Try different values

:FzfLua files winopts.backdrop=f…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@stounfo
Comment options

@ibhagwan
Comment options

@stounfo
Comment options

@ibhagwan
Comment options

Answer selected by stounfo
@stounfo
Comment options

@ibhagwan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants