Skip to content

Commit 669602c

Browse files
authored
Merge pull request #3228 from the-byte-bender/add-lambda-in-template
feat: add '|lambda|' to nonstandardSymbol in template
2 parents 35ed907 + 30c4368 commit 669602c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
5+
6+
* `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.
57
* `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)
68

79
## 3.15.0

script/config/template.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ local template = {
223223
'|=', '&=', '<<=', '>>=',
224224
'||', '&&', '!', '!=',
225225
'continue',
226+
'|lambda|',
226227
}),
227228
['Lua.runtime.plugin'] = Type.Or(Type.String, Type.Array(Type.String)) ,
228229
['Lua.runtime.pluginArgs'] = Type.Or(Type.Array(Type.String), Type.Hash(Type.String, Type.String)),

0 commit comments

Comments
 (0)