# Lua contribution layer for Spacemacs
![logo](img/lua.gif)
**Table of Contents**
- [Lua contribution layer for Spacemacs](#lua-contribution-layer-for-spacemacs)
- [Description](#description)
- [Install](#install)
- [Key Bindings](#key-bindings)
## 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`
```elisp
(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
[lua-mode]: https://github.com/immerrr/lua-mode