forked from pool/StyLua
* Fixed an anonymous function assignment local x = function() being unnecessarily indented if the function body contains a comment (#627) * Fixed malformed formatting when there is a newline between a return token and the expressions (#605) * Fixed malformed formatting of multi-assignment or multi-returns where there is a comment within the expressions list (#637) * Update internal parser: - (lua52) Support Lua 5.2 fractional hexidecimal / hexidecimal with exponents (#621) - (lua52) Support LuaJIT number suffixes LL/ULL/i (#621) - (lua52) Support \z escape sequences in strings (#613) - (luau) Support Luau string interpolation (#607) * Several optimisations applied to formatting functions to reduce time taken. Files which previously did not terminate (6MB+) now finish in reasonable time. (#591) * Assignments of the form local name = function will no longer hang at the equals token, and instead force parameters multiline, to reduce unnecessary indentation. (#595) * Unnecessary parentheses around Luau types will now be removed (#611) * Collapse a body containing only a goto statement when collapse_simple_statement is set (#618) OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=9
4 lines
133 B
Plaintext
4 lines
133 B
Plaintext
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:af5bae412872fab5868193a0f2ff279474e5a8b7e1faf3a5bad4795def5b0905
|
|
size 15333624
|