nvim: lsp: Switch to pylsp

pyls is deprecated and not supported in nvim-lspconfig anymore.

The supported python language server is here.
https://github.com/python-lsp/python-lsp-server
This commit is contained in:
Sanchayan Maity 2021-07-15 18:13:52 +05:30
parent b2d1a3ee62
commit 4565822924
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ function set_snippet_capabilities()
return capabilities
end
local servers = { 'hls', 'rust_analyzer', 'pyls', 'tsserver' }
local servers = { 'hls', 'rust_analyzer', 'pylsp', 'tsserver' }
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {
on_attach = on_attach,