Can anyone help me get things like "Go to definition" working with Neovim and Python virtual environments?
My setup currently uses a specific virtual environment for Neovim (as recommended by :checkhealth) which is working fine.
I've installed python-language-server and pyls-mypy into that virtual environment.
In my .vimrc I've got w0rp/ale installed with the following configuration:
let g:ale_linters = { \ 'python': ['flake8', 'pyls'] \} let g:ale_virtualenv_dir_names = ['.venv'] I'm now in a directory with a virtual environment in ./.venv (which isn't activated) and can't get any LSP stuff like :ALEGoToDefinition to work.
What am I missing?