home: vim: lspconfig: add 'ruff-lsp'

Since everybody is moving towards using it instead of other linters...
This commit is contained in:
Bruno BELANYI 2024-03-11 12:01:15 +00:00
parent 3daa2f4242
commit ea0adeed37

View file

@ -52,6 +52,13 @@ if utils.is_executable("pyright") then
})
end
if utils.is_executable("ruff-lsp") then
lspconfig.ruff_lsp.setup({
capabilities = capabilities,
on_attach = lsp.on_attach,
})
end
-- Rust
if utils.is_executable("rust-analyzer") then
lspconfig.rust_analyzer.setup({