Skip to content

Commit

Permalink
3.13.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Dec 20, 2024
1 parent 62606a7 commit f8ecc4b
Show file tree
Hide file tree
Showing 14 changed files with 66 additions and 3 deletions.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->

## 3.13.5
`2024-12-20`
* `NEW` Setting: `Lua.hint.awaitPropagate`: When enabled, --@async propagates to the caller.
* `CHG` Add server version information to `initialize` response #2996
* `CHG` If the `---@field` of the same name has a type of `fun`, the `duplicate-doc-field` check will not be performed.
* `FIX` Incorrect infer for function array annotation on tables [#2367](https://github.com/LuaLS/lua-language-server/issues/2367)

## 3.13.4
`2024-12-13`
* `CHG` Can adjust the level of detail of Hover (VSCode)
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2570,6 +2570,12 @@
"scope": "resource",
"type": "boolean"
},
"Lua.hint.awaitPropagate": {
"default": false,
"markdownDescription": "%config.hint.awaitPropagate%",
"scope": "resource",
"type": "boolean"
},
"Lua.hint.enable": {
"default": false,
"markdownDescription": "%config.hint.enable%",
Expand Down Expand Up @@ -3433,5 +3439,5 @@
"sponsor": {
"url": "https://github.com/LuaLS/lua-language-server/issues/484"
},
"version": "3.13.4"
"version": "3.13.5"
}
1 change: 1 addition & 0 deletions package.nls.ja-jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"config.hint.arrayIndex.Disable": "Disable hints of array index.",
"config.hint.arrayIndex.Enable": "Show hints in all tables.",
"config.hint.await": "If the called function is marked `---@async`, prompt `await` at the call.",
"config.hint.awaitPropagate": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
"config.hint.enable": "Enable inlay hint.",
"config.hint.paramName": "Show hints of parameter name at the function call.",
"config.hint.paramName.All": "All types of parameters are shown.",
Expand Down
1 change: 1 addition & 0 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"config.hint.arrayIndex.Disable": "Disable hints of array index.",
"config.hint.arrayIndex.Enable": "Show hints in all tables.",
"config.hint.await": "If the called function is marked `---@async`, prompt `await` at the call.",
"config.hint.awaitPropagate": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
"config.hint.enable": "Enable inlay hint.",
"config.hint.paramName": "Show hints of parameter name at the function call.",
"config.hint.paramName.All": "All types of parameters are shown.",
Expand Down
1 change: 1 addition & 0 deletions package.nls.pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"config.hint.arrayIndex.Disable": "Disable hints of array index.",
"config.hint.arrayIndex.Enable": "Show hints in all tables.",
"config.hint.await": "If the called function is marked `---@async`, prompt `await` at the call.",
"config.hint.awaitPropagate": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
"config.hint.enable": "Enable inlay hint.",
"config.hint.paramName": "Show hints of parameter name at the function call.",
"config.hint.paramName.All": "All types of parameters are shown.",
Expand Down
1 change: 1 addition & 0 deletions package.nls.zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"config.hint.arrayIndex.Disable": "禁用数组索引提示。",
"config.hint.arrayIndex.Enable": "所有的表中都提示数组索引。",
"config.hint.await": "如果调用的函数被标记为了 `---@async` ,则在调用处提示 `await` 。",
"config.hint.awaitPropagate": "启用 `await` 的传播, 当一个函数调用了一个`---@async`标记的函数时,会自动标记为`---@async`。",
"config.hint.enable": "启用内联提示。",
"config.hint.paramName": "在函数调用处提示参数名。",
"config.hint.paramName.All": "所有类型的参数均进行提示。",
Expand Down
1 change: 1 addition & 0 deletions package.nls.zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"config.hint.arrayIndex.Disable": "停用陣列索引提示。",
"config.hint.arrayIndex.Enable": "所有的表中都提示陣列索引。",
"config.hint.await": "如果呼叫的函數被標記為了 `---@async`,則在呼叫處提示 `await`。",
"config.hint.awaitPropagate": "啟用 `await` 的傳播,當一個函數呼叫了一個 `---@async` 標記的函數時,會自動標記為 `---@async`。",
"config.hint.enable": "啟用內嵌提示。",
"config.hint.paramName": "在函式呼叫處提示參數名。",
"config.hint.paramName.All": "所有類型的參數均進行提示。",
Expand Down
2 changes: 1 addition & 1 deletion package/build.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local json = require 'json-beautify'

local VERSION = "3.13.4"
local VERSION = "3.13.5"

local fsu = require 'fs-utility'
local package = json.decode(fsu.loadFile(ROOT / 'package.json'))
Expand Down
9 changes: 9 additions & 0 deletions setting/schema-ja-jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -2636,6 +2636,9 @@
"await": {
"$ref": "#/properties/hint.await"
},
"awaitPropagate": {
"$ref": "#/properties/hint.awaitPropagate"
},
"enable": {
"$ref": "#/properties/hint.enable"
},
Expand Down Expand Up @@ -2675,6 +2678,12 @@
"scope": "resource",
"type": "boolean"
},
"hint.awaitPropagate": {
"default": false,
"markdownDescription": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
"scope": "resource",
"type": "boolean"
},
"hint.enable": {
"default": false,
"markdownDescription": "Enable inlay hint.",
Expand Down
9 changes: 9 additions & 0 deletions setting/schema-pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -2636,6 +2636,9 @@
"await": {
"$ref": "#/properties/hint.await"
},
"awaitPropagate": {
"$ref": "#/properties/hint.awaitPropagate"
},
"enable": {
"$ref": "#/properties/hint.enable"
},
Expand Down Expand Up @@ -2675,6 +2678,12 @@
"scope": "resource",
"type": "boolean"
},
"hint.awaitPropagate": {
"default": false,
"markdownDescription": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
"scope": "resource",
"type": "boolean"
},
"hint.enable": {
"default": false,
"markdownDescription": "Enable inlay hint.",
Expand Down
9 changes: 9 additions & 0 deletions setting/schema-zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -2636,6 +2636,9 @@
"await": {
"$ref": "#/properties/hint.await"
},
"awaitPropagate": {
"$ref": "#/properties/hint.awaitPropagate"
},
"enable": {
"$ref": "#/properties/hint.enable"
},
Expand Down Expand Up @@ -2675,6 +2678,12 @@
"scope": "resource",
"type": "boolean"
},
"hint.awaitPropagate": {
"default": false,
"markdownDescription": "启用 `await` 的传播, 当一个函数调用了一个`---@async`标记的函数时,会自动标记为`---@async`。",
"scope": "resource",
"type": "boolean"
},
"hint.enable": {
"default": false,
"markdownDescription": "启用内联提示。",
Expand Down
9 changes: 9 additions & 0 deletions setting/schema-zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -2636,6 +2636,9 @@
"await": {
"$ref": "#/properties/hint.await"
},
"awaitPropagate": {
"$ref": "#/properties/hint.awaitPropagate"
},
"enable": {
"$ref": "#/properties/hint.enable"
},
Expand Down Expand Up @@ -2675,6 +2678,12 @@
"scope": "resource",
"type": "boolean"
},
"hint.awaitPropagate": {
"default": false,
"markdownDescription": "啟用 `await` 的傳播,當一個函數呼叫了一個 `---@async` 標記的函數時,會自動標記為 `---@async`。",
"scope": "resource",
"type": "boolean"
},
"hint.enable": {
"default": false,
"markdownDescription": "啟用內嵌提示。",
Expand Down
9 changes: 9 additions & 0 deletions setting/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2636,6 +2636,9 @@
"await": {
"$ref": "#/properties/hint.await"
},
"awaitPropagate": {
"$ref": "#/properties/hint.awaitPropagate"
},
"enable": {
"$ref": "#/properties/hint.enable"
},
Expand Down Expand Up @@ -2675,6 +2678,12 @@
"scope": "resource",
"type": "boolean"
},
"hint.awaitPropagate": {
"default": false,
"markdownDescription": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
"scope": "resource",
"type": "boolean"
},
"hint.enable": {
"default": false,
"markdownDescription": "Enable inlay hint.",
Expand Down

0 comments on commit f8ecc4b

Please sign in to comment.