aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-07-15 23:33:02 +0800
committerjdhao <jdhao@hotmail.com>2021-07-15 23:33:02 +0800
commitffb0601aca630d33adc84606db54aca3a5484e72 (patch)
treee594a495985224da8fc5b53aa362fe62f2965f7c /docs
parent4689c4b22f4a4e560b325bbc9798597b2bbc182a (diff)
Use pylsp instead of pyls
It seems that pyls, the original python language server has lost its momentum, and pylsp is a community driven fork of pyls. So nvim-lspconfig has dropped support for pyls in https://github.com/neovim/nvim-lspconfig/pull/1074. See also https://github.com/palantir/python-language-server/issues/935 and https://github.com/python-lsp/python-lsp-server/issues/27.
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/Nvim_setup.sh2
-rw-r--r--docs/README.md8
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/Nvim_setup.sh b/docs/Nvim_setup.sh
index cf793d6..cb66300 100755
--- a/docs/Nvim_setup.sh
+++ b/docs/Nvim_setup.sh
@@ -68,7 +68,7 @@ fi
# Install some Python packages used by Neovim plugins.
echo "Installing Python packages"
-declare -a py_packages=("pynvim" 'python-language-server[all]' "black" "vim-vint" "pyls-isort" "pyls-mypy")
+declare -a py_packages=("pynvim" 'python-lsp-server[all]' "black" "vim-vint" "pyls-isort" "pylsp-mypy")
if [[ "$SYSTEM_PYTHON" = true ]]; then
echo "Using system Python to install $(PY_PACKAGES)"
diff --git a/docs/README.md b/docs/README.md
index 432b997..2f47a65 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -20,13 +20,13 @@ plugins that utilize its Python binding. Pynvim is required by plugins such as
pip install -U pynvim
```
-## pyls
+## python-lsp-server
-[Pyls](https://github.com/palantir/python-language-server) is a Python Language
-Server for completion, linting, go to definition, etc.
+[python-lsp-server](https://github.com/python-lsp/python-lsp-server) is the community-fork of pyls, and it is a Python Language Server for completion,
+linting, go to definition, etc.
```
-pip install "python-language-server[all]" pyls-isort pyls-mypy
+pip install 'python-lsp-server[all]' pylsp-mypy pyls-isort
```
## Git