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

fzf-lua support #206

Open
wayneashleyberry opened this issue Jan 6, 2025 · 7 comments
Open

fzf-lua support #206

wayneashleyberry opened this issue Jan 6, 2025 · 7 comments

Comments

@wayneashleyberry
Copy link

I'd like to help add support for fzf-lua, any tips on where to start?

@mcchrish
Copy link
Collaborator

mcchrish commented Jan 7, 2025

There is already a minimal support for fzf-lua. Is there anything specific you want in mind?
I personally use fzf-lua for a very long time and you can checkout my config.

image

Maybe porting my config over to be default in zenbones is possible.

@mcchrish
Copy link
Collaborator

mcchrish commented Jan 7, 2025

Might be off-topic but interestingly fzf supports defining a config file junegunn/fzf#3618
So this might be a chance to generate a zenbones theme for fzf directly.

@wayneashleyberry
Copy link
Author

wayneashleyberry commented Jan 7, 2025

I have seen many colorschemes (catpppuccin, rose-pine, kanagawa) seem to support the plugin out of the box. I am using specifically using zenwritten which I would expect to apply the monochrome colours to fzf-lua, that's what I'd like to help add if at all possible.

Here's fzf-lua using zenwritten

Screenshot 2025-01-07 at 9 14 09 pm

Here's the same plugin using catpppuccin

Screenshot 2025-01-07 at 9 13 39 pm

mcchrish added a commit that referenced this issue Jan 9, 2025
@mcchrish
Copy link
Collaborator

mcchrish commented Jan 9, 2025

image

Here's my personal overrides without the borders:
image

@mcchrish
Copy link
Collaborator

mcchrish commented Jan 9, 2025

Note that you have to set fzf_colors = true to take effect.

@ibhagwan
Copy link

ibhagwan commented Jan 9, 2025

There also an option to set fzf colors without any plugin setting via the global vim.g.fzf_colors (already used by fzf.vim), this way you get the same colors with both fzf.vim and fzf-lua.

@wberry-godaddy
Copy link

Note that you have to set fzf_colors = true to take effect.

This works great, I had no idea! Thanks @mcchrish, solves the problem for me.

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

4 participants