Revisions of StyLua
buildservice-autocommit
accepted
request 1155393
from
Soc Virnyl Estela (uncomfyhalomacro)
(revision 42)
baserev update by copy to link target
Soc Virnyl Estela (uncomfyhalomacro)
committed
(revision 41)
- BuildRequires should be cargo and not rust+cargo * a known issue is causing some broken builds e.g. providing a lower version
Soc Virnyl Estela (uncomfyhalomacro)
accepted
request 1155391
from
Soc Virnyl Estela (uncomfyhalomacro)
(revision 40)
- Reenable cargo tests.
buildservice-autocommit
accepted
request 1154478
from
Soc Virnyl Estela (uncomfyhalomacro)
(revision 39)
baserev update by copy to link target
Soc Virnyl Estela (uncomfyhalomacro)
accepted
request 1154441
from
Andrea Manzini (amanzini)
(revision 38)
- Update to version 0.20.0: ### Changed - Files excluded by git (via .gitignore or global git configuration), as well as in an .ignore file (used by ripgrep and The Silver Searcher) will now also be ignored by StyLua (as if they were all .styluaignore files). ### Fixed * General - The CLI tool will now only write files if the contents differ, and not modify the file if there is no change after formatting - Fixed function body parentheses being placed on multiple lines unnecessarily when there are no parameters - Fixed directory paths w/o globs in .styluaignore not matching when using --respect-ignores * Luau - Fixed handling of floor division (//) syntax when only Luau command line flag is enabled - Fixed missing space when table is inside of Luau interpolated string expression ({{ is invalid syntax) - Fixed parentheses around a Luau compound type inside of a type table indexer being removed causing a syntax error
buildservice-autocommit
accepted
request 1127596
from
Factory Maintainer (factory-maintainer)
(revision 37)
baserev update by copy to link target
Soc Virnyl Estela (uncomfyhalomacro)
committed
(revision 36)
- Update to version 0.19.0: ### Added - Added flag `--respect-ignores`. By default, files explicitly passed to stylua (e.g. `stylua foo.lua`) will always be formatted, regardless of whether the file is ignored. Enabling this flag will consider `.styluaignore` or glob matches before formatting the file. - Note: for backwards compatibility reasons, formatting via stdin always respects ignores. This behaviour will change in the next major release ### Changed - Updated parser crate with following changes: - Support Luau floor division (`//`) - Fix Luau string interpolation parsing - Fix Luau `\z` escape parsing - Simplified access and modification patterns for StyLua configuration. You can now access the properties directly - **Deprecated:** the old access patterns of `.property()` and `.with_property()` are now deprecated - **Breaking Change (WASM):** due to JS/TS lack of differentiation between `.property` / `.property()` implementation, the `.property()` functions were removed from WASM output. - Multiline comments before commas will now remain in place and not move to after the comma. This is to support type-assertions-via-comments that is commonly used by some language servers.
buildservice-autocommit
accepted
request 1118039
from
Factory Maintainer (factory-maintainer)
(revision 35)
baserev update by copy to link target
Soc Virnyl Estela (uncomfyhalomacro)
committed
(revision 34)
- Update to version 0.18.2: * Fixed LuaJIT suffixes LL/ULL causing a panic when running in --verify mode * Fixed incorrect formatting of conditionals when collapse_simple_statement is enabled and the block begins with an empty line * Fixed formatting of dot function call chains with comment between dot and names
buildservice-autocommit
accepted
request 1106048
from
Soc Virnyl Estela (uncomfyhalomacro)
(revision 33)
baserev update by copy to link target
Soc Virnyl Estela (uncomfyhalomacro)
committed
(revision 32)
- Update to version 0.18.1: * Fixed parentheses around a single Luau type pack in a generic being removed causing syntax errors.
buildservice-autocommit
accepted
request 1104907
from
Factory Maintainer (factory-maintainer)
(revision 31)
baserev update by copy to link target
Soc Virnyl Estela (uncomfyhalomacro)
committed
(revision 30)
Replace obsoleted `disabled` option with `manual`
buildservice-autocommit
accepted
request 1093613
from
Soc Virnyl Estela (uncomfyhalomacro)
(revision 29)
baserev update by copy to link target
Soc Virnyl Estela (uncomfyhalomacro)
committed
(revision 28)
- Update to version 0.18.0: * Multiline ignores (-- stylua: ignore start / -- stylua: ignore end) will now work within table fields * Added option "Input" to call_parentheses setting, where call parentheses are retained based on their presence in the original input code. * Improved heuristics around Luau type excess parentheses removal, so unnecessary parentheses around types are removed in more locations * Function calls are now formatted onto multiple lines if the opening brace { of a multiline table forces one of the lines over width * Fixed missing option --sort-requires to enable sort requires on the command line * Fixed parentheses removed around Luau optional type (B?) causing syntax errors when present in an intersection A & (B?) * Fixed comments lost when parentheses removed around Luau types * Fixed race condition where if a file is passed more than once as an argument to format, then it could potentially be wiped completely (for example, if an ancestor directory is passed and recursively searched, as well as the file itself)
buildservice-autocommit
accepted
request 1093484
from
Factory Maintainer (factory-maintainer)
(revision 27)
baserev update by copy to link target
Soc Virnyl Estela (uncomfyhalomacro)
committed
(revision 26)
- Update to version 0.17.1 * Bumped internal parser dependency which should fix parsing problems for comments with Chinese characters, and multiline string escapes * Fixed comments in punctuated lists for return statements or assignments being incorrectly formatted leading to syntax errors * Fixed line endings not being correctly formatted in multiline string literals and comments
buildservice-autocommit
accepted
request 1074821
from
Factory Maintainer (factory-maintainer)
(revision 25)
baserev update by copy to link target
Soc Virnyl Estela (uncomfyhalomacro)
committed
(revision 24)
- Disable tests. Failing for editorconfig.
Soc Virnyl Estela (uncomfyhalomacro)
committed
(revision 23)
Displaying revisions 1 - 20 of 42