From 4565822924c6171fc65e07a0ae704c42ee466349 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 15 Jul 2021 18:13:52 +0530 Subject: [PATCH] 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 --- nvim/.config/nvim/lua/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/lua/lsp.lua b/nvim/.config/nvim/lua/lsp.lua index ba94e74..c10328a 100644 --- a/nvim/.config/nvim/lua/lsp.lua +++ b/nvim/.config/nvim/lua/lsp.lua @@ -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,