spacemacs/layers/+lang/lua
zhuyan 210106b7b3 lua: Add company-lua package
Lua-mode it self has poor completion support and company-lua will enhance it.
2017-05-14 21:24:14 -04:00
..
img
config.el lua: Add company-lua package 2017-05-14 21:24:14 -04:00
packages.el lua: Add company-lua package 2017-05-14 21:24:14 -04:00
README.org Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00

Lua contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/210106b7b3f75987938566dfa739faabf15c940a/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