JohnnyMorganz
JohnnyMorganz
Interesting, personally I find the difference in indent helps, but I can definitely see where you are coming from. I wonder if we should just leave a newline at the...
Debating whether this really belongs in this tool. It may make more sense for it to be split out into a different tool (similar to isort)
This formatting was added in v0.12.0 (was discussed in https://github.com/JohnnyMorganz/StyLua/issues/289) It will only apply if your line is above the column width though, which I assume in this example it...
Yeah I agree with you that it's definitely nicer to read when separated on multiple lines. Not entirely sure what kind of heuristic to apply here though, because it's *technically*...
This was intentional: https://github.com/JohnnyMorganz/StyLua/pull/342#issuecomment-1166613067 But what you report seems to be an unfortunate side effect. A lot of the other cases now look nicer, but I also think it looks...
I assume this is through downloading the binaries from GitHub releases? This is unfortunately because the binary is currently built with both Lua 5.2 and Luau parsing enabled, which causes...
I definitely agree with having a runtime flag to do this, that is the ideal scenario. Unfortunately though the issue is upstream in our parser dependency, so it needs to...
I also agree on your second point, having Github release binaries for all possible flags would be good (#103). But as I mentioned in https://github.com/JohnnyMorganz/StyLua/issues/309#issuecomment-983614651, right now there is potentially...
This is something that was present in the initial implementation of StyLua. I agree, in some cases, that this is quite nice: it's also what's used in prettier and black,...
This is something I definitely want, and I did start trying it out. The problematic hurdle was that VSCode doesn't have access to PATH on macOS (it is just the...