switch python lsp to ruff
This commit is contained in:
parent
994e42f688
commit
e6e2555274
1 changed files with 9 additions and 3 deletions
10
lua/lsp.lua
10
lua/lsp.lua
|
@ -65,9 +65,15 @@ for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup {capabilities = capabilities, on_attach = on_attach}
|
nvim_lsp[lsp].setup {capabilities = capabilities, on_attach = on_attach}
|
||||||
end
|
end
|
||||||
|
|
||||||
nvim_lsp.pyright.setup({
|
nvim_lsp.ruff_lsp.setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
})
|
init_options = {
|
||||||
|
settings = {
|
||||||
|
-- Any extra CLI arguments for `ruff` go here.
|
||||||
|
args = {},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
nvim_lsp.ruff_lsp.setup({
|
nvim_lsp.ruff_lsp.setup({
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
Loading…
Reference in a new issue