Skip to main content
Stefan's Blog

Installing Neovim and Rust LSP for total beginners

Neovim (0.9) & Rust LSP setup for total beginners #

Description #

I always had issues in setting up Neovim and the Rust LSP. I finally managed to get it only a few steps, so this tutorial will demonstrate how to set it up for Linux.

Repo contents #

This repository contains the exact files I used in the description below. If you want to start fresh with a Neovim installation, just copy the two files init.lua and lua/rust.lua, and add them to your ~/.config/nvim folder. From there you should be able to run :PackerInstall.

Step-by-step guidelines #

Install Rust #

Install Rust Analyzer #

Install Neovim ( I used the X64 nightly version ) #

Start and configure Neovim #