Modern Neovim - IDE

Configure Neovim to be a personalized integrated development environment.

alpha2phi
6 min readFeb 4

--

Modern Neovim — IDE

We will check out configuration recipes and plugins to configure Neovim as a personalized integrated development environment.

This article is part of the Modern Neovim series.

The Neovim configuration files are available in this repository.

Getting Started

We have already configured LSP, DAP, fuzzy finding, TDD (test-driven development), and many other features in our current Neovim setup.

In this article, we will check out configuration recipes and plugins to customize Neovim as a personalized development environment.

Annotation Generation

To generate code annotation, we configure Neogen in the lua/plugins/neogen.lua file.

  • Depending on the programming languages, we can customize the annotation conventions.
  • We define the key mappings to generate the annotation (line 40 — line 45).

We also configure Neogen to integrate with nvim-cmp. In the lua/plugins/completion/init.lua file, we add the lines for Neogen (line 19 line 20, line 31 — line 32).

Now we can generate code annotation and navigate it using <C-j> and <C-k>.

Annotation Generation

For other options, check out this article!

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.