How can I reset --no-color
from FZF_DEFAULT_OPTS
?
#2309
Unanswered
gonzastoll
asked this question in
Q&A
Replies: 3 comments 5 replies
-
That’s the right way, fzf-lua relays the env opts if you’ve set it up for the shell it’s up to you to disable it for neovim if it it’s not your wish. |
Beta Was this translation helpful? Give feedback.
4 replies
-
or reset color
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Found some code: Lines 519 to 522 in 3e123a3 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! So, my
FZF_DEFAULT_OPTS
look like this:Notice that I have
--color=bw
(equivalent of--no-color
)When doing this, it completely messes up my
FzfLua
finder as you can see on this screenshot:Git icons are not highlighted, cursor line is white and contrast with highlighted item is very hard to notice.
This is how it looks when I don't pass
--color=bw
toFZF_DEFAULT_OPTS
:I've tried this:
without much success. What I'm currently doing is this:
But that doesn't feel like the right way to go about things tbh, feels a bit hacky. So, what would be a good way to "undo" the
--color=bw
that's coming fromFZF_DEFAULT_OPTS
?Here's my full config
Beta Was this translation helpful? Give feedback.
All reactions