From 7dc6ea159b7ed0c714823a868af80243e43ac95b Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 6 Nov 2020 23:54:26 +0800 Subject: [PATCH] update documentation and install script for Linux --- docs/Nvim_setup.sh | 2 +- docs/README.md | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/Nvim_setup.sh b/docs/Nvim_setup.sh index c143c68..8c2c4ac 100755 --- a/docs/Nvim_setup.sh +++ b/docs/Nvim_setup.sh @@ -66,7 +66,7 @@ fi # Install some Python packages used by Neovim plugins. echo "Installing Python packages" -PY_PACKAGES="pynvim jedi pylint flake8 yapf black vim-vint" +PY_PACKAGES="pynvim python-language-server[all] black vim-vint" if [[ "$SYSTEM_PYTHON" = true ]]; then echo "Using system Python to install $(PY_PACKAGES)" diff --git a/docs/README.md b/docs/README.md index 522aa45..a5f7242 100644 --- a/docs/README.md +++ b/docs/README.md @@ -18,13 +18,12 @@ Neovim relies on [pynvim](https://github.com/neovim/pynvim) to communicate with plugins that utilize its Python binding. Pynvim is required by plugins such as [Deoplete](https://github.com/Shougo/deoplete.nvim) and [Semshi](https://github.com/numirias/semshi). -## Jedi +## pyls -For Python code auto-completion to work, we need to install -[Jedi](https://github.com/davidhalter/jedi): +Pyls is a Language Server for Python for completion, linting, go to definition, etc. ``` -pip install jedi +pip install "python-language-server[all]" ``` ## Git