-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Since todays update it keeps forcing Lua 5.4 even after I've manually changed it to 5.1. #1864
Comments
Possibly due to what looks like some unfinished code |
yes! same thing keeps happening to me. i was about to open an issue but you beat me to it by less than an hour. constantly see this diff when i'm staging stuff, and i can't figure out what triggers it:
|
My bad, fixed by LuaLS/vscode-lua@8c81892 |
thank you @sumneko - do you know when this will be pushed into release? |
In 24 hours, I'm waiting for some other bug resolving. |
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Diagnostics/Syntax Checking
Expected Behaviour
I set it to 5.1.
It stays locked to lua 5.1
Actual Behaviour
I set it to 5.1.
I go to my code, it parses it and flags up lots of deprecated functions,
I check the settings.json and it's back to 5.4.
Reproduction steps
I have lots of lua 5.1 code.
I updated to todays (31/1/23) version.
When I click on a lua file, it parses it, and shows lots of errors of deprecated functions - because the settings.json is now lua 5.4 -> but i never changed it to 5.4 It's doing it every time I open a file.
Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered: