spacemacs/layers/+lang/lua
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
..
img Use + instead of ! for layer categories 2015-09-11 00:13:51 -04:00
README.org update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
config.el lua: use new add-company-backends macro 2017-05-14 21:26:41 -04:00
packages.el lua: use new add-company-backends macro 2017-05-14 21:26:41 -04:00

README.org

Lua contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/6c5a0b2b14462e1bec53517b27748386f021710b/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