forked from pool/StyLua
Accepting request 1093613 from devel:languages:lua
- 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) OBS-URL: https://build.opensuse.org/request/show/1093613 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/StyLua?expand=0&rev=9
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:94d421033a41d7030bfec5cafafd16e52951b08685f4a908087cbcbb8fea4073
|
||||
size 372991
|
3
StyLua-0.18.0.tar.gz
Normal file
3
StyLua-0.18.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:198e54433b866b8d3a8934be3d1a0f4b40ac934621231be43d4aa2056cb66018
|
||||
size 376262
|
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 18 01:16:34 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
|
||||
|
||||
- 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)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 11:41:54 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
%define _bin_name stylua
|
||||
Name: StyLua
|
||||
Version: 0.17.1
|
||||
Version: 0.18.0
|
||||
Release: 0
|
||||
Summary: Opinionated Lua code formatter
|
||||
License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Unlicense) AND Apache-2.0 AND MIT AND MPL-2.0 AND MPL-2.0
|
||||
|
6
_service
6
_service
@@ -1,12 +1,10 @@
|
||||
<services>
|
||||
<service name="download_files" mode="disabled" />
|
||||
<service name="cargo_vendor" mode="disabled">
|
||||
<param name="srctar">StyLua-0.17.1.tar.gz</param>
|
||||
<param name="srctar">StyLua-0.18.0.tar.gz</param>
|
||||
<param name="compression">zst</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="disabled">
|
||||
<param name="srcdir">StyLua-0.17.1</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="disabled" />
|
||||
</services>
|
||||
|
||||
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:262710da1773deb5755f89f2683c76cd40365eed8000cf10503afdf80bc6ff01
|
||||
size 19198923
|
||||
oid sha256:c8d89847815355c2717cfccfec63bdaa36e4637df42980f926710bb2fc14231d
|
||||
size 18173374
|
||||
|
Reference in New Issue
Block a user