spacemacs/layers/+lang/lua
Robbert van der Helm c61ae1a1c1 Add ivy support to the gtags layer
It would be much better to have a single function for each layer that
initializes ggtags, helm-gtags and counsel-gtags for a mode.
2017-12-17 22:03:01 -05:00
..
img
config.el lua: use new add-company-backends macro 2017-05-14 21:26:41 -04:00
packages.el Add ivy support to the gtags layer 2017-12-17 22:03:01 -05:00
README.org Remove old wording "contribution layer" 2017-08-28 11:33:55 -04:00

Lua layer

/TakeV/spacemacs/media/commit/71f8919ebf96d94e7f570b21314e0b494c3fb359/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