linux-cultist / venv-selector.nvim

Allows selection of python virtual environment from within neovim
MIT License
444 stars 46 forks source link

Maybe we should look for "fdfind" and use it if it exists #15

Closed linux-cultist closed 1 year ago

linux-cultist commented 1 year ago

Since its called fdfind on Debian based distributions, maybe we should look for this binary and use it if it exists.

Or at least give a helpful error message if fd doesnt exist. I think right now there is only a silent fail if it doesnt exist, which would make Ubuntu users think the plugin doesnt work.

It's possible to set the fd binary to something else in settings but maybe people don't look there and just assume the plugin fails. We should at least give a helpful error message. :)

linux-cultist commented 1 year ago

Started working on this in a separate branch:

https://github.com/linux-cultist/venv-selector.nvim/tree/check_for_fd_and_fdfind

linux-cultist commented 1 year ago

Plugin will do this now, closing issue.