lua(9)lua - Lua files
hklua.emf - Lua hook definition
lua.eaf - Lua abbreviation file
lua.etf - Lua template file.
.lua - Lua file
The Lua file type editing provides simple hilighting of Lua files, abbreviations, folding, item-list support and lua function tagging using the luatags(3f) command.
Abbreviations
Auto Layout
Folding and Information Hiding
Navigation via Item List
Short Cuts
C-c C-c - Comment out the current line.
C-c C-d - Uncomment the current line.
C-c C-e - Comment to the end of the line with stars (#).
A-C-i - Restyle the current region.
esc q - Format a comment.
esc o - Format a comment.
f2 - (Un)fold the current region.
C-f2 - (Un)fold all regions.
f6 - List items.
esc f6 - Close item list.
Executing, Formatting and Linting Lua Code
sudo npm install -g lua-fmt
If the application "luafmt" is not available, the macro restyle-buffer(3), will be used instead.
The hilighting and other features are typically extended using a file mylua.emf.
None reported so far but many features are added just recently and have not been tested throughly.
abbrev-list(3), collapse-all(3), collapse-current(3), expand-abbrev-handle(3), file-exec(3), file-format(3), file-lint(3), item-list(3), luatags(3f), restyle-buffer(3), restyle-region(3), time(2m).
(c) Copyright JASSPA 2025
Last Modified: 2025/09/11
Generated On: 2025/09/29