-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Features] Allow running with --features lua52 #54
Comments
The release version does have lua52 enabled. You may be experiencing an issue similar to JohnnyMorganz/StyLua#402 where Luau syntax clashes with Lua 5.2 syntax. You can use cargo to build a binary with only lua52 enabled and that should work. Hopefully in the next major release we will have runtime configurable syntax selection. Unfortunately there is no way right now to use cargo within the stylua action, but doing |
@JohnnyMorganz, sorry for not mentioning the error. I met this JohnnyMorganz/StyLua#407. I managed to use cargo-instal action to install stylua instead. |
StyLua v2.0.0 now provides support for runtime syntax selection. You can configure this in either in the |
thank you for this feature @JohnnyMorganz <3 |
Hi @JohnnyMorganz, My code is currently use label feature of lua, however it is not enabled by default in release version.
Are there anyway for me to enable features like
lua52
when running this action?Thank you for your great Stylua and this github action.
The text was updated successfully, but these errors were encountered: