StyLua icon indicating copy to clipboard operation
StyLua copied to clipboard

An opinionated Lua code formatter

Results 136 StyLua issues
Sort by recently updated
recently updated
newest added

I've readed the problem with stylua prebuilt binaries in #240 and #407 , however AFAIK this error isn't expected in the stylua compiled by pre-commit using the repo's file Cargo.toml....

We just added basic support to allow it to work, but we should spend more time to improve the formatting

enhancement
luau

We're looking at moving from `lua-format` to StyLua for our project and have encountered a hurdle. Our project contains a number of localization files where we like to remove the...

bug
extension

I would like simple expressions to can collapse, but complex not This has been annoying for a very long time but I was too lazy to write issue) that is,...

Attempting to format this valid Lua code: ```lua for i = 1, 10 do if i < 8 then print(i) goto continue end break ::continue:: end ``` gives the following...

bug
duplicate

Upgrade libc to v0.2.155 to support LoongArch64. Libc release notes : https://github.com/rust-lang/libc/releases The relevant change: https://github.com/rust-lang/libc/pull/3606

On occasion, I see this highlighted update button on my toolbar and click it. When clicking it, it gives the modal in the second screenshot. After clicking Update, an error...

bug
extension

Adds an option that allows preservation of newline gaps at the start and/or end of blocks - see example at the end of PR. This is similar to how newline...

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6. Commits 35a517c Release version 1.15.6 of the npm package. c4f847f Drop Proxy-Authorization across hosts. 8526b4a Use GitHub for disclosure. b1677ce Release version 1.15.5 of...

dependencies
javascript

Formatting a hex number with an _ spacer creates an error when running --verify --color Always ```lua local nextMultipleOf64 = bit32.band(leftover + 32, 0xffff_ffc0) ``` **Edit: Looks like may any...

bug