Neovim LSP Enhanced

alpha2phi
8 min readMar 14, 2021

Additional features to enhance your LSP experience in Neovim.

Neovim — Enhanced LSP Experience

Overview

In the previous article, I walked through with you how to set up LSP and DAP in Neovim. In this article let’s enhance the LSP experience in Neovim by configuring and setting up additional features.

Installation of Language Servers

Just like the previous article, let’s get started by installing the language servers.

If you are using coc.nvim, normally the language server is installed automatically for you. For Neovim LSP, there are available plugins to automate this process. Here I will go through the manual installation steps.

Python

For Python, let’s install pyright.

$ npm install -g pyright

Golang

For Golang, let’s install gopls.

$ GO111MODULE=on go get golang.org/x/tools/gopls@latest

Rust

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.