editor-script-lua-format - Format your Lua code!
Adds a right click context menu item āFormat Documentā for .lua, .script, .editor_script, .render_script, .gui_script files to format them with lua-format.
Installation
Download repo as .zip, simply copy āeditor-script-lua-formatā folder to your project and reload editor scripts. Done!
Known Issues
- Not tested yet on
Linuxand macOS. Binary executable files are from vscode-lua-format repo.- Canāt be used as dependency library
. Simply copy paste the script folder into your project.
Changelog
2020-01-11: I added Git pre-commit hook sample to the repo. It formats staged Lua files to keep your code fabulous!
2020-01-13: Binary executable files are built using Travis CI and AppVeyor.