Skip to content

Prelude Lua

Note

This module builds on top of the shared Programming module.

Lua Mode

This module bundles lua-mode for editing Lua source files.

Prelude configures the following defaults:

  • Indent level: 2 spaces
  • String content indentation is enabled
  • Nested block alignment is disabled for a cleaner look

Key Bindings

Key Command Description
C-c C-b lua-send-buffer Send buffer to Lua process
C-c C-l lua-send-current-line Send current line
C-c C-f lua-send-defun Send current function
C-c C-r lua-send-region Send selected region
C-c C-z lua-show-process-buffer Show Lua process buffer