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