Remove pyls and replace it with pyright for Vim Ale

This commit is contained in:
ViViDboarder 2023-07-20 11:32:57 -07:00
parent 8ed18d206d
commit 7739ba5579
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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'],