Install Rust Language Server

This morning, I started to learn rust language. So, I need some kind of language server for my editor. The thing that I did to achieve this is by using Rust Analyzer.

Integrating this is pretty simple, I just need to download the binary file, change the mode to execute and update my lsp configuration.

$ curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > /usr/local/bin/rust-analyzer

$ sudo chmod +x /usr/local/bin/rust-analyzer

For my neovim configuration, can refer to this LSP file config for it.

Leave a comment

Your email address will not be published. Required fields are marked *