6b33031dc5
- Rename contrib directory to layers - Add new variable dotspacemacs-distribution - Move spacemacs layer to layers/!distribution - New layer spacemacs-core in layers/!distribution - User can now set dotspacemacs-distribution to spacemacs or spacemacs-core (default spacemacs) spacemacs-core is very lightweight layer sufficient to build upon spacemacs.
1.1 KiB
1.1 KiB
Lua contribution layer for Spacemacs
Table of Contents TOC@4
Description
This layer adds support for editing Lua.
Features:
- Editing lua files using lua-mode
- Sending code to a lua REPL
Install
To use this contribution add it to your ~/.spacemacs
(setq-default dotspacemacs-configuration-layers '(lua))
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 |