vim: replace pylsp with basedpyright

This commit is contained in:
Sam W 2024-09-25 21:41:59 +01:00
parent c38a6da542
commit cc24d247b1
1 changed files with 1 additions and 12 deletions

View File

@ -49,18 +49,7 @@ require'lspconfig'.gopls.setup{
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,
} }
require'lspconfig'.pylsp.setup{ require'lspconfig'.basedpyright.setup{}
on_attach = on_attach,
capabilities = capabilities,
handlers = {
["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, {
-- Disable virtual_text
virtual_text = false
}
),
}
}
require'lspconfig'.nil_ls.setup{ require'lspconfig'.nil_ls.setup{
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,