mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 16:36:26 +00:00
Remove pyls and replace it with pyright for Vim Ale
This commit is contained in:
parent
8ed18d206d
commit
7739ba5579
@ -190,8 +190,8 @@ function install_fixers() {
|
||||
# Python
|
||||
if want_lang python ;then
|
||||
maybe_run pip install --user --upgrade "'autopep8<1.7.0'" reorder-python-imports
|
||||
maybe_run pip install --user --upgrade autopep8 reorder-python-imports black pyls-black python-lsp-black pyls-isort pyls-mypy || echo "WARNING: black is py3 only"
|
||||
maybe_run pip3 install --user --upgrade black pyls-black python-lsp-black pyls-isort pyls-mypy autopep8 reorder-python-imports
|
||||
maybe_run pip install --user --upgrade autopep8 reorder-python-imports black || echo "WARNING: black is py3 only"
|
||||
maybe_run pip3 install --user --upgrade black autopep8 reorder-python-imports
|
||||
fi
|
||||
|
||||
# Rust
|
||||
|
@ -7,7 +7,7 @@ let g:ale_lint_on_enter = 0
|
||||
" NOTE: Some of these are installed when bootstrapping environment, outside of vim setup
|
||||
let g:ale_linters = {
|
||||
\ 'go': ['gopls', 'golint', 'golangci-lint'],
|
||||
\ 'python': ['pyls', 'mypy'],
|
||||
\ 'python': ['pyright', 'mypy'],
|
||||
\ 'rust': ['rls', 'cargo'],
|
||||
\ 'sh': ['language_server', 'shell', 'shellcheck'],
|
||||
\ 'text': ['proselint', 'alex'],
|
||||
|
Loading…
Reference in New Issue
Block a user