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 30247ce3a0
commit f13a6fb023

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({