danielfalk / smart-open.nvim

Neovim plugin for fast file-finding
MIT License
498 stars 25 forks source link

match_algorithm preference list #35

Closed YodaEmbedding closed 1 year ago

YodaEmbedding commented 1 year ago

Prefer fzy if it exists, otherwise use fzf:

match_algorithm = { "fzy", "fzf" },
danielfalk commented 1 year ago

Yeah good idea, but since we only have 2 algorithms, what we should probably do is just fallback to the other one at this point.

danielfalk commented 1 year ago

I just looked into this, and realized that fzy will never not exist because it's copied into the plugin itself. I had forgotten 😁

You can still fall back from fzf to fzy. It already works that way though, so there's nothing further to do here. :+1: