home: vim: add 'rust-analyzer' LSP configuration

This commit is contained in:
Bruno BELANYI 2022-03-01 15:23:20 +01:00
parent 84188cb7fa
commit ae94693540

View file

@ -8,4 +8,11 @@ if utils.is_executable("pyright") then
on_attach = utils.on_attach, on_attach = utils.on_attach,
}) })
end end
-- Rust
if utils.is_executable("rust-analyzer") then
lsp.rust_analyzer.setup({
on_attach = utils.on_attach,
})
end
EOF EOF