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

Colors not my expected on Windows #874

Open
3 of 9 tasks
rickywu opened this issue Sep 20, 2019 · 2 comments
Open
3 of 9 tasks

Colors not my expected on Windows #874

rickywu opened this issue Sep 20, 2019 · 2 comments

Comments

@rickywu
Copy link

rickywu commented Sep 20, 2019

  • Category
    • Question
    • Bug
    • Suggestion
  • OS
    • Linux
    • macOS
    • Windows
    • Etc.
  • Vim
    • Vim
    • Neovim

I set g:fzf_colors:

let g:fzf_colors =
\ {'fg': ['fg', '#2e3436'],
\ 'bg': ['bg', '#eeeeec'],
\ 'hl': ['fg', '#fcaf3e'],
\ 'fg+': ['fg', '#ffffff'],
\ 'bg+': ['bg', '#8ae234'],
\ 'hl+': ['fg', '#f57900'],
\ 'info': ['fg', '#afaf87'],
\ 'border': ['fg', '#eeeeec'],
\ 'prompt': ['fg', '#d7005f'],
\ 'pointer': ['fg', '#cc0000'],
\ 'marker': ['fg', '#ef2929'],
\ 'spinner': ['fg', '#af5fff'],
\ 'header': ['fg', '#729fcf']

But the colors not display as my expect, and :echo fzf#wrap(), options is blank,

@junegunn
Copy link
Owner

junegunn commented Sep 26, 2019

Unfortunately, the Windows binary currently doesn't support 24-bit colors. I can't be sure as I'm not a Windows user, but this may change when junegunn/fzf#1341 is merged. You can help it move forward by testing it and giving feedbacks.

@rickywu
Copy link
Author

rickywu commented Sep 29, 2019

I use that PR to build fzf or use release version and set env var as:

--color=fg:#2e3436,bg:#eeeeec,hl:#fcaf3e --color=fg+:#ffffff,bg+:#8ae234,hl+:#f57900 --color=info:#afaf87,prompt:#d7005f,pointer:#cc0000 --color=marker:#ef2929,spinner:#af5fff,header:#729fcf

WSL:
image

Powershell, colors changed by my term but still use GUI colors
image

Gvim:
image

cmd.exe:
image

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

No branches or pull requests

2 participants