forked from pool/StyLua
### 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/StyLua?expand=0&rev=36
4 lines
131 B
Plaintext
4 lines
131 B
Plaintext
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:b227f41250925ef4aa4403cea52fbc144d1a78576eb0181b6d477ca7cf31e6bf
|
|
size 386320
|