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

[FR] format in fzf ignroes the "%" formatting stuff, like colors... #379

Closed
ar4hc opened this issue Jul 11, 2023 · 2 comments
Closed

[FR] format in fzf ignroes the "%" formatting stuff, like colors... #379

ar4hc opened this issue Jul 11, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ar4hc
Copy link

ar4hc commented Jul 11, 2023

Is your feature request related to a problem? Please describe.
Found these settings for zsh

# https://thevaluable.dev/zsh-completion-guide-examples/
zstyle ':completion:*:*:*:*:descriptions' format '%F{green}-- %d --%f'
zstyle ':completion:*:*:*:*:corrections' format '%F{yellow}!- %d (errors: %e) -!%f'
zstyle ':completion:*:messages' format ' %F{purple} -- %d --%f'
zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f'

makes the group headings colorful, but only if i disable fzf-tab.
fzf-tab ignores the "%" stuff and echo the format verbatim, but still uses them

Describe the solution you'd like
Could fzf also parse the % stuff?

Describe alternatives you've considered
Using plain text instead.

Additional context

Random scrennshots,
red format applied
Screenshot 2023-07-11 at 18 57 54

No formating applied, just verbatim text:
Screenshot 2023-07-11 at 18 58 10

@ar4hc ar4hc added the enhancement New feature or request label Jul 11, 2023
@omares
Copy link

omares commented Aug 4, 2023

Hey @ar4hc, i got the issue fixed by applying these recommended zstyle definitions #24 (comment)

@ar4hc
Copy link
Author

ar4hc commented Sep 26, 2023

@omares tip solved it. for me.

@ar4hc ar4hc closed this as completed Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants