JohnnyMorganz

Results 418 comments of JohnnyMorganz

Prettier will probably be a good example for these cases. Interestingly, they only format leading for unions, not intersections: ![image](https://github.com/user-attachments/assets/0905afff-dc7d-49e0-a4b8-befdbe716e9c)

~~Can no longer reproduce in latest version of luau-lsp~~ Nevermind, I was checking wrong - it still errors in strict mode!

Unfortunately there is no way to do this right now, and I think it might be a bit too specific of an option to restrict to specifically `requires`. You can...

The example `print(13//3)` works for me. What version of stylua are you using, and do you have anything specific in your `stylua.toml`?

Aha, your issue is the `id: stylua` setting in the pre-commit hook. The default stylua hook will attempt an install via cargo. However, cargo install only builds with default features,...

Thank you for the tool :). That makes sense. Tbh, the feature request mainly came out from my laziness :P, my build output dir structure is different per platform and...

Nothing further from our side, we still have `--noexperimental_merged_skyframe_analysis_execution` set and haven't investigated removing it yet since creating this issue. We are on Bazel 7.5.

If Luau goes ahead with this feature, I will add an `input` option. But only when it's confirmed to be formally added. It is still unclear whether they are going...

We currently follow a rule (similar to prettier) where a newline between the opening brace `{` and the first entry will force the table to always be expanded, regardless of...

This sounds like an issue where downloading the binary failed. I think it could be solved by running the `StyLua: Reinstall StyLua` command in VSCode. However, we should handle this...