~sanchayanmaity/dotfiles

4565822924c6171fc65e07a0ae704c42ee466349 — Sanchayan Maity 2 months ago b2d1a3e
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
1 files changed, 1 insertions(+), 1 deletions(-)

M nvim/.config/nvim/lua/lsp.lua
M nvim/.config/nvim/lua/lsp.lua => nvim/.config/nvim/lua/lsp.lua +1 -1
@@ 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,