switch python lsp to ruff

This commit is contained in:
Vladan Popovic 2023-12-18 14:26:35 +01:00
parent 994e42f688
commit e6e2555274
1 changed files with 9 additions and 3 deletions

View File

@ -65,9 +65,15 @@ for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {capabilities = capabilities, on_attach = on_attach}
end
nvim_lsp.pyright.setup({
nvim_lsp.ruff_lsp.setup {
on_attach = on_attach,
})
init_options = {
settings = {
-- Any extra CLI arguments for `ruff` go here.
args = {},
}
}
}
nvim_lsp.ruff_lsp.setup({
on_attach = on_attach,