Install elpa-lua-mode by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-lua-mode
Description:
Emacs major-mode for editing Lua programs
This Emacs mode provides syntax highlighting and automatic indentation for Lua, as well as running an interactive shell, interacting with `hs-minor-mode' and online documentation lookup.
Homepage: http://immerrr.github.com/lua-mode
Version: 20151025-3
Section: universe/lisp