When I edit files in Visual Studio Code, I expect lua-language-server to NOT overwrite my workspace's settings.json file.
Actual Behaviour
Every time I edit a file in my Lua project in Visual Studio Code, my workspace .vscode/settings.json is modified from
"Lua.runtime.version": "LuaJIT",
to
"Lua.runtime.version": "Lua 5.4",
Reproduction steps
Launch VSCode with Lua Language Server as only enabled extension
Create a new Lua project in VSCode
Create a .vscode/settings.json file with the following contents:
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?
Other
Expected Behaviour
When I edit files in Visual Studio Code, I expect lua-language-server to NOT overwrite my workspace's settings.json file.
Actual Behaviour
Every time I edit a file in my Lua project in Visual Studio Code, my workspace .vscode/settings.json is modified from
"Lua.runtime.version": "LuaJIT",
to"Lua.runtime.version": "Lua 5.4",
Reproduction steps
Additional Notes
Only seems to happen in 3.6.8. If I revert to 3.6.7 it will not overwrite my settings.
Even happens if I update both user and workspace settings to use LuaJIT NOT Lua 5.4.
Log File
testLanguageServerProject.log