Pylsp has third party plugins which are not installed by default.
In order for these plugins to work with the pylsp
server managed by this plugin, they need to be installed in the same virtual environment as pylsp
. For these reasons, there's a convenient :PylspInstall <packages>
command that does this for you, for example:
:PylspInstall pyls-flake8 pylsp-mypy pyls-isort
The :PylspInstall
command will only be available once the pylsp
server has been set up.
Note that these extra pylsp plugins will not be reinstalled if you update/reinstall the pylsp
server, you will have to manage
them manually.