From ffb0601aca630d33adc84606db54aca3a5484e72 Mon Sep 17 00:00:00 2001 From: jdhao Date: Thu, 15 Jul 2021 23:33:02 +0800 Subject: 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. --- docs/Nvim_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/Nvim_setup.sh') 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)" -- cgit v1.2.3