SHA256
12
0
forked from pool/StyLua

14 Commits

Author SHA256 Message Date
Soc Virnyl Estela
ab8d4f4c87 - Disable tests. Failing for editorconfig.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=24
2023-03-21 04:38:24 +00:00
Soc Virnyl Estela
4a8d73d90f - Remove editorconfig requirement.
- Fix tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=22
2023-03-21 02:17:01 +00:00
Soc Virnyl Estela
a0b56b76df - Add editorconfig as build requirement.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=21
2023-03-21 00:31:33 +00:00
Soc Virnyl Estela
24659d57bd - Fix tests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=19
2023-03-21 00:25:18 +00:00
Soc Virnyl Estela
782c19f6b0 - Update to version 0.17.0:
* Sort requires
  * Add default editorconfig feature
  * extension: Pass cwd as workspace folder for version check
  * Add Dockerfile

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=17
2023-03-18 11:42:47 +00:00
Soc Virnyl Estela
db8dbd0743 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=14 2023-02-17 11:13:29 +00:00
Soc Virnyl Estela
2c40cb4a1d - Update to version 0.16.1:
* General
    - Fixed mistransformation of a function argument in a multilined function call when the argument contains a comment, causing a syntax error. We now attempt to hang the expression (#648)
  * Luau
    - Fixed verify AST flagging a false positive for parentheses removed around a Luau type (#643)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=13
2023-02-17 10:34:35 +00:00
Soc Virnyl Estela
76e0f5c3a0 Accepting request 1065632 from home:firstyear:branches:devel:languages:lua
Automatic update of vendored dependencies

OBS-URL: https://build.opensuse.org/request/show/1065632
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=11
2023-02-14 02:10:50 +00:00
Soc Virnyl Estela
71bbb8a2aa - Update to version 0.16.0:
* 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
2023-01-28 00:58:39 +00:00
Soc Virnyl Estela
bb7e58fdc1 - Disable --all-features in test since cargo-insta is
not installed or available in openSUSE.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=7
2022-12-16 16:01:23 +00:00
Soc Virnyl Estela
552bee1552 - Update to version 0.15.3:
* Fixed necessary parentheses removed in (-X) ^ Y causing change in semantics
  * Take into account function token size when formatting an anonymous function function() end (particularly relevant when collapsing simple statements)
  * Support hanging inside of Luau type arrays { T } to fix formatting issues when comments are present

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=6
2022-12-16 14:22:35 +00:00
Soc Virnyl Estela
119ada4d16 - Remove strip option for debuginfo creation.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=4
2022-11-24 13:56:49 +00:00
Soc Virnyl Estela
0a9b92c38a - Rename source tarball to StyLua-0.15.2.tar.gz.
- Update _service file.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=2
2022-11-21 06:41:00 +00:00
edb6aa0801 Accepting request 1037000 from home:uncomfyhalomacro
I want to maintain StyLua in devel:languages:lua

OBS-URL: https://build.opensuse.org/request/show/1037000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=1
2022-11-21 05:35:35 +00:00