Skip to content

Since todays update it keeps forcing Lua 5.4 even after I've manually changed it to 5.1. #1864

@ZoeESummers

Description

@ZoeESummers

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions