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

update Python settings and related doc

This commit is contained in:
jdhao 2021-03-25 23:15:54 +08:00
parent cabb5b7604
commit 41a2d1b950
3 changed files with 4 additions and 2 deletions

View File

@ -405,6 +405,8 @@ if executable('pyls')
\ 'pyflakes': {'enabled': v:false},
\ 'pycodestyle': {'enabled': v:false},
\ 'jedi_completion': {'fuzzy': v:true},
\ 'pyls_isort': {'enabled': v:true},
\ 'pyls_mypy': {'enabled': v:true}
\ }
\ }
\ }})

View File

@ -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")
declare -a py_packages=("pynvim" 'python-language-server[all]' "black" "vim-vint" "pyls-isort" "pyls-mypy")
if [[ "$SYSTEM_PYTHON" = true ]]; then
echo "Using system Python to install $(PY_PACKAGES)"

View File

@ -24,7 +24,7 @@ plugins that utilize its Python binding. Pynvim is required by plugins such as
Server for completion, linting, go to definition, etc.
```
pip install "python-language-server[all]"
pip install "python-language-server[all]" pyls-isort pyls-mypy
```
## Git