Add rust-analyzer for neovim

This commit is contained in:
flyingscorpio@clevo 2022-11-24 10:12:32 +01:00
parent 43a32e61d5
commit 0883064a27
2 changed files with 8 additions and 0 deletions

View file

@ -104,3 +104,9 @@ lspconfig.jedi_language_server.setup {
capabilities = capabilities,
on_attach = attach_fn,
}
-- Rust
lspconfig.rust_analyzer.setup{
capabilities = capabilities,
on_attach = attach_fn,
}

View file

@ -31,6 +31,7 @@
- jedi-language-server
- lua-language-server
- texlab
- rust-analyzer
- name: Install things with npm (Archlinux)
become: true
npm:
@ -79,6 +80,7 @@
- mypy
- pylint3
- shellcheck
- rust-analyzer
- name: Install things with pip (Debian)
pip:
name: