StyLua
StyLua copied to clipboard
An opinionated Lua code formatter
Adding `--respect-ignores` that is not supported in some older versions. Probably worth doing a version check on startup
Hey there, I wanted to propose adding support for GLua (Garry's Mod Lua), which is basically LuaJIT with extended support for some c-operators. The non-standard symbols are the following: ```...
Closes #895 Not sure what the best name for this is, I've gone with `--allow-gitignore` for now
#854 will introduce support for leading tokens in unions / interesctions, but we should format them better: - If single line, remove a leading token - If multi line, start...
Update the shape before formatting return type Closes #896
I believe this should resolve the wasm-related errors I mentioned in #888. My specific project appears to work correctly after these changes. Other than building the code and using it...
It is annoying having to try to keep `.editorconfig` and `.stylua.toml` in sync for rules that they share. I would like to define all configuration for StyLua in an `.editorconfig`...
When `call_parentheses` is `None`, `NoSingleString`, or `NoSingleTable`, currently stylua always places a space between the function name and the argument (for example `require "mymod"``). However I prefer not to have...