chore: replace python-language-server to supported pylsp (#3810)

As mentioned in #3722 palantir's python-language-server is no longer maintained.
The alternative is to use the community-driven https://github.com/python-lsp/python-lsp-server.
This commit is contained in:
Gerardo Gómez Rodríguez
2021-07-09 16:40:31 +03:00
committed by GitHub
parent e230f07465
commit 8b73d98baf
18 changed files with 152 additions and 152 deletions

View File

@@ -152,8 +152,8 @@ Given python(Some Python file):
bazxyzxyzxyz
Execute(LSP symbol requests should be sent):
runtime ale_linters/python/pyls.vim
let b:ale_linters = ['pyls']
runtime ale_linters/python/pylsp.vim
let b:ale_linters = ['pylsp']
call setpos('.', [bufnr(''), 1, 5, 0])
ALESymbolSearch foo bar
@@ -178,8 +178,8 @@ Execute(LSP symbol requests should be sent):
AssertEqual {'42': {'buffer': bufnr(''), 'use_relative_paths': 0}}, ale#symbol#GetMap()
Execute('-relative' argument should enable 'use_relative_paths' in HandleLSPResponse):
runtime ale_linters/python/pyls.vim
let b:ale_linters = ['pyls']
runtime ale_linters/python/pylsp.vim
let b:ale_linters = ['pylsp']
call setpos('.', [bufnr(''), 1, 5, 0])
ALESymbolSearch -relative foo bar