2024-03-05
[Optional] Install Rust
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
[Optional] Install rust-analyzer
$ rustup component add rust-analyzer
Append to ~/config/nvim/init.lua
lua require'lspconfig'.rust_analyzer.setup({})