home: vim: add 'rust-analyzer' LSP configuration
This commit is contained in:
parent
84188cb7fa
commit
ae94693540
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue