feat: switched from pyright to pylsp

This commit is contained in:
əlemi 2022-09-01 01:35:37 +02:00
parent f3be36774b
commit a4fac329bd
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -250,7 +250,7 @@ local init_fn = function(use)
rust_tools.inlay_hints.enable() rust_tools.inlay_hints.enable()
lspconfig.bashls.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.bashls.setup({capabilities=capabilities, on_attach=set_lsp_binds})
lspconfig.pyright.setup({capabilites=capabilities, on_attach=set_lsp_binds}) lspconfig.pylsp.setup({capabilites = capabilities, on_attach = set_lsp_binds, settings = { pylsp = { plugins = { pycodestyle = { enabled = false } } } } })
lspconfig.clangd.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.clangd.setup({capabilities=capabilities, on_attach=set_lsp_binds})
lspconfig.marksman.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.marksman.setup({capabilities=capabilities, on_attach=set_lsp_binds})