summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
authorGerardo Gómez Rodríguez <gerardo.gomez@tutanota.com>2021-07-09 16:40:31 +0300
committerGitHub <noreply@github.com>2021-07-09 22:40:31 +0900
commit8b73d98baf0a185886a55a62b8b32f6543f14af4 (patch)
tree6b35e4b1327688edd442dff867168d49277e6341 /test/completion
parente230f07465be5b05446da30a098b4a666463503f (diff)
downloadale-8b73d98baf0a185886a55a62b8b32f6543f14af4.zip
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.
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/test_lsp_completion_messages.vader6
-rw-r--r--test/completion/test_public_completion_api.vader4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/completion/test_lsp_completion_messages.vader b/test/completion/test_lsp_completion_messages.vader
index ee810113..87847777 100644
--- a/test/completion/test_lsp_completion_messages.vader
+++ b/test/completion/test_lsp_completion_messages.vader
@@ -205,8 +205,8 @@ Given python(Some Python file):
bazxyzxyzxyz
Execute(The right message should be sent for the initial LSP request):
- runtime ale_linters/python/pyls.vim
- let b:ale_linters = ['pyls']
+ runtime ale_linters/python/pylsp.vim
+ let b:ale_linters = ['pylsp']
" The cursor position needs to match what was saved before.
call setpos('.', [bufnr(''), 1, 5, 0])
@@ -226,7 +226,7 @@ Execute(The right message should be sent for the initial LSP request):
\ string(g:Callback)
" We should send the right message.
" The character index needs to be at most the index of the last character on
- " the line, or integration with pyls will be broken.
+ " the line, or integration with pylsp will be broken.
"
" We need to send the message for changing the document first.
AssertEqual
diff --git a/test/completion/test_public_completion_api.vader b/test/completion/test_public_completion_api.vader
index f26fdc12..03394820 100644
--- a/test/completion/test_public_completion_api.vader
+++ b/test/completion/test_public_completion_api.vader
@@ -41,7 +41,7 @@ Execute(ale#completion#CanProvideCompletions should return 0 when no completion
AssertEqual 0, ale#completion#CanProvideCompletions()
Execute(ale#completion#CanProvideCompletions should return 1 when at least one completion source is available):
- runtime ale_linters/python/pyls.vim
- let b:ale_linters = ['pyls']
+ runtime ale_linters/python/pylsp.vim
+ let b:ale_linters = ['pylsp']
AssertEqual 1, ale#completion#CanProvideCompletions()