-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot process goto
in v0.14.0
#505
Comments
It seems the issue is resolved by #407 (comment) I don't know much of anything about the Lua community, but according to http://www.lua.org/versions.html Lua 5.2 was released in 2011 and received its last update in 2015. I would think that makes it a candidate to be the baseline syntax for stylua. |
By default we still have 5.1 as baseline as it still seems to be widely used, and everything builds on top of that. I want to make the experience nicer for using different syntax though, as mentioned in those issues. Parser selection is currently at compile time but we want to move it to runtime. (There is also another issue in the GitHub releases where we merge all the parsers together for user simplicity, but that has issues) |
I suppose I'll close this. |
Given the following Lua:
stylua@0.13.1
will correctly process the code:But
stylua@0.14.0
complains about thegoto
statement:The text was updated successfully, but these errors were encountered: