Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.24 KB

README.org

File metadata and controls

36 lines (28 loc) · 1.24 KB

Lua contribution layer for Spacemacs

img/lua.gif

Table of Contents

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 BindingDescription
SPC m dlookup thing at point in lua documentation
SPC m s bsend buffer contents to REPL
SPC m s fsend current function to REPL
SPC m s lsend current line to REPL
SPC m s rsend current region to REPL