home: vim: add 'rust-analyzer' LSP configuration
This commit is contained in:
parent
84188cb7fa
commit
ae94693540
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue