Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
neovim: Use local (venv, conda) python3 as neovim host if appropriate
Previously, neovim's host python3 is configured in the order of system python (/usr/local/bin/python3, /usr/bin/python3) and then local python3 from $PATH (e.g. virtualenv or anaconda). This means as long as system python exists, it always becomes neovim's host python. From now, local python3 is more prioritized given that 'neovim' package is installed (otherwise, use system python as default host python so that it doesn't force users to have neovim package installed on it). This will allow us to use local python3 as a neovim's host python if we want (by installing 'neovim' package), which could be quite useful in some use cases such as numirias/semshi#19 .
- Loading branch information