Learning Lua

Lua is a lightweight, cross-platform, high-level programming language that has become increasingly-popular as an embedded scripting language.

Lua is often praised as a clean, simple, easy to learn scripting language that is applicable to a wide range of tasks.

Today Lua can be found in a wide range of applications including Neovim.

There are several versions of Lua available, and in this chapter we focus on the version that ships with Neovim, Lua 5.1.

Let's get started.