home: vim: lspconfig: add 'ruff-lsp'
Since everybody is moving towards using it instead of other linters...
This commit is contained in:
parent
30247ce3a0
commit
f13a6fb023
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue