1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update documentation and install script for Linux

This commit is contained in:
jdhao 2020-11-06 23:54:26 +08:00
parent 0b80636fe3
commit 7dc6ea159b
2 changed files with 4 additions and 5 deletions

View File

@ -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)"

View File

@ -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