linux-cultist / venv-selector.nvim

Allows selection of python virtual environment from within neovim
MIT License
388 stars 41 forks source link

When running VenvSelect with empty buffer, it defaults to searching root directory ($HOME + 2 parents up) #50

Closed linux-cultist closed 11 months ago

linux-cultist commented 11 months ago

This is not good and will lead to an incredible long search in the background, and VenvSelect cant be used in the mean time.

Need to add a timeout so it doesnt go on forever and inform the user that search got aborted.

Also make timeout configurable in settings.

linux-cultist commented 11 months ago

The incredibly long search was due to fd bug related to searching the /proc directory. Im excluding this from being searched since there is no reason to include it.