From 7739ba5579f82c2953095e123f286fb9c30d2792 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Thu, 20 Jul 2023 11:32:57 -0700 Subject: [PATCH] Remove pyls and replace it with pyright for Vim Ale --- install-language-servers.sh | 4 ++-- vim/rc/plugins/ale.rc.vim | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install-language-servers.sh b/install-language-servers.sh index 8bc3d1b..4b54f91 100755 --- a/install-language-servers.sh +++ b/install-language-servers.sh @@ -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 diff --git a/vim/rc/plugins/ale.rc.vim b/vim/rc/plugins/ale.rc.vim index 3464382..52f3261 100644 --- a/vim/rc/plugins/ale.rc.vim +++ b/vim/rc/plugins/ale.rc.vim @@ -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'],