Table of Contents

Lua contribution layer for Spacemacs

Table of ContentsClose


1 Description

This layer adds support for editing Lua.

1.1 Features:

  • Editing lua files using lua-mode
  • Sending code to a lua REPL
  • Code linting using Luacheck

2 Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add lua to the existing dotspacemacs-configuration-layers list in this file.

In order to enable code linting, install Luacheck.

3 Key Bindings

3.1 Commands

Key Binding Description
SPC m d lookup thing at point in lua documentation
SPC m s b send buffer contents to REPL
SPC m s f send current function to REPL
SPC m s l send current line to REPL
SPC m s r send current region to REPL

Author: Sylvain Benner

Created: 2016-10-03 Mon 00:55