diff --git a/changelog.md b/changelog.md index 48be6dbfc..8d7c86ab0 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,8 @@ ## Unreleased + +* `FIX` adds the `|lambda|` operator to the `Lua.runtime.nonstandardSymbol` configuration template, which allows the use of that option. Previously, support for it existed in the parser, but we could not actually use the option because it is not recognised in the configuration. * `FIX` Typed `@field` (eg `---@field [string] boolean`) should not override other defined field [#2171](https://github.com/LuaLS/lua-language-server/issues/2171), [#2711](https://github.com/LuaLS/lua-language-server/issues/2711) ## 3.15.0 diff --git a/script/config/template.lua b/script/config/template.lua index 150dcf50f..2f9c70f84 100644 --- a/script/config/template.lua +++ b/script/config/template.lua @@ -223,6 +223,7 @@ local template = { '|=', '&=', '<<=', '>>=', '||', '&&', '!', '!=', 'continue', + '|lambda|', }), ['Lua.runtime.plugin'] = Type.Or(Type.String, Type.Array(Type.String)) , ['Lua.runtime.pluginArgs'] = Type.Or(Type.Array(Type.String), Type.Hash(Type.String, Type.String)),