spacemacs/layers/+lang/lua
2016-09-05 02:38:13 -04:00
..
img
config.el Define missing jumper handler variables for helm-gtags 2016-09-05 02:38:13 -04:00
packages.el Further improve gtags layer 2016-08-22 15:11:25 +02:00
README.org

Lua contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/eec4f00147230aa6350aa155ca6ec910de4e9cd8/layers/+lang/lua/img/lua.gif

Description

This layer adds support for editing Lua.

Features:

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

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.

Key Bindings

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