Neovim LSP CodeLens for Rust

alpha2phi
3 min readAug 2, 2021

Setting up code lens for Rust.

Neovim LSP CodeLens for Rust

Overview

CodeLens is a very useful feature for developers to easily identify the actions or references in a particular file. This article explores using the Neovim LSP code lens and hover action features to run or debug Rust applications.

Code Lens for Rust

Setup

I use Neovim 0.6 and configure rust-analyzer as the language server. Since I have already gone through the configuration in previous articles, the details are skipped here.

You can check out the following articles for the instructions.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.