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:
parent
cabb5b7604
commit
41a2d1b950
@ -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}
|
||||
\ }
|
||||
\ }
|
||||
\ }})
|
||||
|
||||
@ -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)"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user