[nvim python] move to ruff + basedpyright

This commit is contained in:
Piotr Domański 2024-08-22 16:49:43 +02:00
parent 6c99dde079
commit ab5fcc3fa0

View file

@ -84,7 +84,8 @@ return {
ensure_installed = {
"lua_ls",
"gopls",
"pylsp",
"ruff",
"basedpyright",
"tsserver",
},
handlers = {
@ -105,16 +106,15 @@ return {
nvim_lsp.gopls.setup({})
nvim_lsp.dartls.setup({})
nvim_lsp.tsserver.setup({})
nvim_lsp.pylsp.setup({
nvim_lsp.ruff.setup({})
nvim_lsp.basedpyright.setup({
settings = {
pylsp = {
plugins = {
black = { enabled = true },
isort = { enabled = true, profile = "black" },
},
basedpyright = {
typeCheckingMode = "standard",
},
},
})
}
)
lsp.setup()
end,