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:
parent
b2d1a3ee62
commit
4565822924
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ function set_snippet_capabilities()
|
||||||
return capabilities
|
return capabilities
|
||||||
end
|
end
|
||||||
|
|
||||||
local servers = { 'hls', 'rust_analyzer', 'pyls', 'tsserver' }
|
local servers = { 'hls', 'rust_analyzer', 'pylsp', 'tsserver' }
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup {
|
nvim_lsp[lsp].setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
Loading…
Reference in a new issue