Writing Neovim Plugins — A Beginner Guide (Part 1)

alpha2phi
6 min readMay 22, 2021

A beginner guide on writing Neovim plugins in Lua.

Writing Neovim Plugins

Overview

There are many great Neovim plugins but not many guides on writing Neovim plugins in Lua. In this article, let’s start to explore developing Neovim plugins in Lua.

This is a beginner guide and we are going to learn by developing a simple plugin, and continue to explore more advanced topics in future articles.

  • Part 1: This article.
  • Part 2: Available here.

Table of Contents

Startup Options

Let’s first explore different methods to start Neovim without loading vimrc files or plugins.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.