diff options
| author | jdhao <jdhao@hotmail.com> | 2020-11-06 23:54:26 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-11-06 23:54:26 +0800 |
| commit | 7dc6ea159b7ed0c714823a868af80243e43ac95b (patch) | |
| tree | 3d59f121739f92e2266e5d7fb760ed13207765dc | |
| parent | 0b80636fe372971061fabea490b56fdc305ff119 (diff) | |
update documentation and install script for Linux
| -rwxr-xr-x | docs/Nvim_setup.sh | 2 | ||||
| -rw-r--r-- | 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 |
