⬆️ Update dependency JohnnyMorganz/StyLua to v2#58
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
⬆️ Update dependency JohnnyMorganz/StyLua to v2#58renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
26583ce to
62d72ad
Compare
62d72ad to
5d50471
Compare
5d50471 to
98d5a82
Compare
98d5a82 to
a933b38
Compare
a933b38 to
f1a9b88
Compare
f1a9b88 to
4c05854
Compare
4c05854 to
4903546
Compare
4903546 to
17c866e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.20.0→2.4.0Release Notes
JohnnyMorganz/StyLua (JohnnyMorganz/StyLua)
v2.4.0Compare Source
Added
--no-ignore-vcsto continue formatting files listed in a.gitignorefile, instead of skipping over them (#895)call_parentheses = Inputin editorconfig (#1057)f<<T>>(),obj:method<<T>>())stylua_syntaxandstylua_block_newline_gapsproperties in editorconfig (#1054)Fixed
foo.bar -- comment { }(#873)- - - - -5becoming-----5(#1075)--preserve-block-newline-gapsCLI flag not being applied as a config override.stylua.tomlon Windows due to incorrect file URI to path conversion (#1051)v2.3.1Compare Source
Fixed
v2.3.0Compare Source
Added
respect_editor_formatting_options.If it's true, the formatting handler will override the configurations
indent-widthandindent-typewith values from FormattingOptionsChanged
serverInfoin the language server'sInitializeResponseFixed
document_range_formatting_providercapability missing fromServerCapabilitiesin language server mode.styluaignorefiles (#1035)v2.2.0Compare Source
Added
block_newline_gapsto determine whether newline gaps at the start / end of blocks should be preserved. Defaults toNever, which is the original behaviour. (#857)stylua --lspand connect with a language client. (#936)Changed
Fixed
v2.1.0Compare Source
Added
@native/@deprecated) on functionssyntax = "cfxlua"(#855)stylua-linux-aarch64-musl.zip::and generics>>) (#960 / #962)Changed
ubuntu-22.04workers due to GitHub's deprecation ofubuntu-20.04. This may mean the pre-built release artifacts published to GitHub no longer work onubuntu-20.04and require a manual build.Fixed
(expr :: assertion) < foowhen multilining the expression, leading to a syntax error (#940)--respect-ignoresis enabled (#969)v2.0.2Compare Source
Fixed
--stdin-filepathis provided (#928)v2.0.1Compare Source
Added
Fixed
stylua.tomlfile (#925)v2.0.0Compare Source
Breaking Changes
stylua-win64.zip,stylua-linux.zipandstylua-macos.zipare no longer produced in GitHub releases, in favour of more specific names (e.g.,stylua-windows-x86_64,stylua-linux-x86_64andstylua-macos-x86_64).--stdin-filepathno 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 iffoo.luawas in a.styluaignorefile. Use--respect-ignoresto preserve the original behaviour.Configstruct in stylua Rust libraryAdded
syntaxto 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. (#407)space_after_function_namesto specify whether to include a space between a function name and parentheses (#839)Changed
.stylua.tomlconfig resolution now supports looking up config files next to files being formatted, recursively goingupwards until reaching the current working directory, then stopping (unless
--search-parent-directorieswas specified).For example, for a file
./src/test.lua, executingstylua src/will look for./src/stylua.tomland then./stylua.toml.collapse_simple_statementis enabled, if the enclosing block is a return, we will check if the return expression is "simple" (currently, not containing a function definition) (#898)Fixed
:and the function name (#890)--verifypanicing due to overflow for very large Hex numbers (#875, #889)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.