You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1.2 KiB

Lua contribution layer for Spacemacs

/brettlangdon/dotfiles/src/commit/53e2c5719b9a7be4c1cb152a9a2e6b909fadce06/spacemacs.d/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