Reformats your Lua source code. The program will attempt to automatically use the current directory's .lua-format file if no config file is passed in the command line. If none is found, it will try to locate a .lua-format file in a parent directory recursively. On Linux, it will use $XDG_CONFIG_HOME/luaformatter/config.yaml if .lua-format does not exist. In case there's no file, it will fall back to the default configuration. The program will give the top priority to the configuration values given in the command line, then to the configuration files, and finally to the hard-coded default values.
Features
- VS Code support
- Sublime support
- The easiest way to install is to use LuaRocks
- Requires c++ 17 compiler
- Configuration parameters not specified fallback to their default values
- Disable formatting for a line or block
Categories
Code FormattersLicense
Apache License V2.0Follow LuaFormatter
Other Useful Business Software
Passwordless Authentication and Passwordless Security
It’s no secret — passwords can be a real headache, both for the people who use them and the people who manage them. Over time, we’ve created hundreds of passwords, it’s easy to lose track of them and they’re easily compromised. Fortunately, passwordless authentication is becoming a feasible reality for many businesses. Duo can help you get there.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of LuaFormatter!