Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to force 24 bit colors #2889

Merged
merged 6 commits into from
Jul 29, 2022
Merged

Add option to force 24 bit colors #2889

merged 6 commits into from
Jul 29, 2022

Conversation

Kamholtz
Copy link
Contributor

Add an option g:fzf_force_24_bit_colors which would allow windows vim users to force the use of 24 bit colours. Currently there is a condition in s:get_colors which prevents this from happening, and the issue here junegunn/fzf.vim#1152 on fzf.vim seems to indicate a change has not been made because it breaks compatibility with cmd.exe. This would allow users to just force 24 bit colours to get around the poor contrast issues that occur when fzf falls back onto 256 ANSI colors.

doc/fzf.txt Outdated Show resolved Hide resolved
plugin/fzf.vim Outdated Show resolved Hide resolved
Kamholtz and others added 3 commits July 29, 2022 22:00
Co-authored-by: Junegunn Choi <[email protected]>
Use existing option name

Co-authored-by: Junegunn Choi <[email protected]>
@Kamholtz
Copy link
Contributor Author

Those changes have been added and I have confirmed that the branch still works as expected.

@junegunn junegunn merged commit d083f01 into junegunn:master Jul 29, 2022
@junegunn
Copy link
Owner

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants