-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Which OS are you using?
Windows
Expected Behaviour
LuaLS/lua-language-server#2720 added support for lamda style functions with "|lambda|" as an option for non standard symbols. This change was released in 3.10.0, but it can't be used in VSCode because "|lambda|" is not yet listed as an options. It need to be added to the package.json.
Actual Behaviour
Setting "Lua.runtime.nonstandardSymbol": ["|lambda|"] in settings.json should add support for lamda style functions, such as: Wait.frames(|| print("Hello World"), 60). Instead you get a warning:
Value is not accepted. Valid values: "//", "/**/", "`", "+=", "-=", "*=", "/=", "%=", "^=", "//=", "|=", "&=", "<<=", ">>=", "||", "&&", "!", "!=", "continue".
Reproduction steps
- Open your
settings.jsonin VSCode - Add `"Lua.runtime.nonstandardSymbol": ["|lambda|"]
- You get a warning
Additional Notes
No response
Log
No response
the-byte-bender
Metadata
Metadata
Assignees
Labels
No labels