LuaFormatter icon indicating copy to clipboard operation
LuaFormatter copied to clipboard

Code formatter for Lua

Results 108 LuaFormatter issues
Sort by recently updated
recently updated
newest added

I want to add new feature for some reason. I spend more time compiling and testing just to make a little change or add a log. Is there any way...

Is there an option to disable `table_sep` option and leave separators as is?

enhancement

Hi @Koihik Thanks for working this awesome project :heart:. When `single-quote-to-double-quote` is set to true, formatting the code below results on the strings being modified, the last char `\` being...

bug

LuaFormatter is failing to install because of a recent change from GitHub. Here's my GitHub Actions job failing to install LuaFormatter. ``` which lua-format || luarocks --tree .luarocks install --server...

Provided rockspec cannot be used in LuaRocks that doesn't support rockspec v3 (for example LuaRocks 2.4.2). But no one v3 feature is used in rockspec, to make rockspec compatible with...

I am often annoyed if formatters don't give me the option to put line breaks where I want. For instance, let's say I want to define a matrix like this:...

enhancement

Configuration ```yaml column_limit: 90 indent_width: 2 use_tab: false tab_width: 4 continuation_indent_width: 4 keep_simple_control_block_one_line: false keep_simple_function_one_line: false align_args: true align_parameter: false align_table_field: true spaces_before_call: 1 spaces_inside_functioncall_parens: false spaces_inside_functiondef_parens: false spaces_inside_table_braces: true...

column_table_limit_kv type: int, default: column_table_limit The column limit of each line of a k = vtable. Default value the same as column_table_limit value. This will allow me to keep my...

Hello, Issuing : ``` luarocks.bat install --server=https://luarocks.org/dev luaformatter ``` inside a mingw64 environment did succeed to build the executable, but then : ``` Install the project... -- Install configuration: "Release"...

Using the default config (though I didn't see any config line that would change it), multiline comments using the --[[ --]] syntax get collapsed into the next instruction. This is...