Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
508580a405 | |||
|
216825cbee |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f4a27b12669953d2edf55b89cc80381f97a2dfa735f53f95c6ae6015c8c35ffb
|
|
||||||
size 412838
|
|
3
StyLua-2.0.2.tar.gz
Normal file
3
StyLua-2.0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0d88a55d4d33a7d7334bdef8ccaf1fb6524b21dd66d60be8efc0cf92f6d31ad3
|
||||||
|
size 424426
|
@@ -1,3 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 14 01:01:25 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 2.0.2:
|
||||||
|
* Fixed regression where configuration present in current working directory
|
||||||
|
not used when formatting from stdin and no --stdin-filepath is provided
|
||||||
|
* Luau: fixed incorrect indentation for leading token in union / intersection
|
||||||
|
when hanging
|
||||||
|
* Verbose mode will now show resolved options
|
||||||
|
* Fixed CLI overrides not applying on top of a resolved stylua.toml file
|
||||||
|
* For automated downloaders: the legacy release artifacts stylua-win64.zip,
|
||||||
|
stylua-linux.zip and stylua-macos.zip are no longer produced in GitHub
|
||||||
|
releases, in favour of more specific names (e.g., stylua-windows-x86_64,
|
||||||
|
stylua-linux-x86_64 and stylua-macos-x86_64).
|
||||||
|
* --stdin-filepath no longer respects ignore files by default, in line with
|
||||||
|
passing files directly to the command line. Now, stylua --stdin-filepath
|
||||||
|
foo.lua - will still format the stdin even if foo.lua was in a .styluaignore
|
||||||
|
file. Use --respect-ignores to preserve the original behaviour.
|
||||||
|
* Removed deprecated access patterns on Config struct in stylua Rust library
|
||||||
|
* Added runtime syntax configuration option syntax to help handle ambiguous
|
||||||
|
syntax. By default, StyLua builds and runs with a parser to handle all Lua
|
||||||
|
versions. However, the syntax of some Lua versions conflict with eachother:
|
||||||
|
most notably, Lua 5.2+ goto label syntax ::label:: and Luau type assertion
|
||||||
|
operator ::. This option allows choosing what syntax to parse, to handle
|
||||||
|
these conflicts.
|
||||||
|
* Added configuration option space_after_function_names to specify whether
|
||||||
|
to include a space between a function name and parentheses
|
||||||
|
* Update internal Lua parser version (full-moon) to v1.1.0. This includes
|
||||||
|
parser performance improvements.
|
||||||
|
* LuaJIT is now separated from Lua52, and is available in its own feature
|
||||||
|
and syntax flag
|
||||||
|
* .stylua.toml config resolution now supports looking up config files next to
|
||||||
|
files being formatted, recursively going upwards until reaching the current
|
||||||
|
working directory, then stopping (unless --search-parent-directories was
|
||||||
|
specified). For example, for a file ./src/test.lua, executing stylua src/
|
||||||
|
will look for ./src/stylua.toml and then ./stylua.toml.
|
||||||
|
* When collapse_simple_statement is enabled, if the enclosing block is
|
||||||
|
a return, we will check if the return expression is "simple" (currently,
|
||||||
|
not containing a function definition)
|
||||||
|
* Fixed formatting of method call chain when there is a comment between
|
||||||
|
the colon token : and the function name
|
||||||
|
* Removed accidental random print to stdout when formatting a return
|
||||||
|
statement across multiple lines
|
||||||
|
* Luau: Fixed incorrect removal of semicolon before compound assignment
|
||||||
|
with parentheses leading to ambiguous syntax error
|
||||||
|
* Luau: Fixed incorrect collapsing of union/intersection type value with
|
||||||
|
comments in a type table leading to a syntax error
|
||||||
|
* Fixed --verify panicing due to overflow for very large Hex numbers
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 6 02:07:17 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
Wed Mar 6 02:07:17 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define _bin_name stylua
|
%define _bin_name stylua
|
||||||
Name: StyLua
|
Name: StyLua
|
||||||
Version: 0.20.0
|
Version: 2.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Opinionated Lua code formatter
|
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
|
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
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:11fb36032c6fb7006a8f774498de580f72fa0c3552b36b21ab668b1b0ae47f50
|
oid sha256:c81b9799a29c45043fe23d55a93f80f7a75992a82a2c23f44bc9c941f8e1c9cc
|
||||||
size 16124398
|
size 17910629
|
||||||
|
Reference in New Issue
Block a user