mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
doc: update doc and install guide for pylsp
This commit is contained in:
parent
e53ee104ec
commit
892cd49f06
@ -65,7 +65,7 @@ pip install -U pynvim
|
||||
[python-lsp-server (pylsp)](https://github.com/python-lsp/python-lsp-server) is a Python [Language Server](https://microsoft.github.io/language-server-protocol/) for completion, linting, go to definition, etc.
|
||||
|
||||
```
|
||||
pip install 'python-lsp-server[all]' pylsp-mypy pyls-isort
|
||||
pip install 'python-lsp-server[all]' pylsp-mypy python-lsp-isort python-lsp-black
|
||||
```
|
||||
|
||||
Note the executable for pylsp is also named `pylsp`. You need to set its PATH correctly.
|
||||
|
||||
@ -68,7 +68,7 @@ fi
|
||||
|
||||
# Install some Python packages used by Nvim plugins.
|
||||
echo "Installing Python packages"
|
||||
declare -a PY_PACKAGES=("pynvim" 'python-lsp-server[all]' "black" "vim-vint" "pyls-isort" "pylsp-mypy")
|
||||
declare -a PY_PACKAGES=("pynvim" 'python-lsp-server[all]' "vim-vint" "python-lsp-isort" "pylsp-mypy" "python-lsp-black")
|
||||
|
||||
if [[ "$SYSTEM_PYTHON" = true ]]; then
|
||||
echo "Using system Python to install $(PY_PACKAGES)"
|
||||
|
||||
@ -27,7 +27,7 @@ scoop install miniconda3
|
||||
pip install -U pynvim
|
||||
|
||||
# Install python-language-server
|
||||
pip install 'python-lsp-server[all]' pylsp-mypy pyls-isort
|
||||
pip install 'python-lsp-server[all]' pylsp-mypy python-lsp-isort
|
||||
|
||||
# Install visual c++ redistribution
|
||||
scoop install vcredist2022
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user