Skip to content

fzf border vs fzf-lua border #1481

Answered by ibhagwan
Masber asked this question in Q&A
Discussion options

You must be logged in to vote

I realized one could either ask fzf to print the border or delegate this to fzf-lua, are these 2 options doing the same or are implementations different? if they are different, which one should we use from performance perspective?

These aren't the same, fzf border will be drawn by fzf in the terminal whereas the fzf-lua border is drawn by the neovim floating window itself (the default), I don't think there's a difference in performance but I would use the default (drawn by fzf-lua/neovim), the main 2 reasons are:
(1) Ability to set the highlight FzfLuaBorder
(2) Ability to use the title instead of the prompt (try :FzfLua profiles and try default-title or borderless-full to see the diffe…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Masber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants