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

This commit is contained in:
Bruno BELANYI 2022-03-01 15:23:20 +01:00
parent e8ffddedef
commit 7a9760b0cd

View file

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