diff --git a/changelog.md b/changelog.md index a6edb612774af9528ecf3c2d9ce5b0977c9bbc9e..c29e97297e2793b2e91c58469bedb3bf18d96f78 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # changelog +## 3.7.2 +`2023-11-9` +* `FIX` [#2407] + +[#2407]: https://github.com/LuaLS/lua-language-server/issues/2407 + ## 3.7.1 `2023-11-7` * `FIX` [#2299] diff --git a/package.json b/package.json index e69ab08184952a7e0f4d1802f2276edb98ce5ba3..ce6d9020ece97106a1ebb315c6a81a9ad402c648 100644 --- a/package.json +++ b/package.json @@ -3088,22 +3088,12 @@ "type": "boolean" }, "Lua.workspace.checkThirdParty": { - "default": "Ask", - "enum": [ - "Ask", - "Apply", - "ApplyInMemory", - "Disable" - ], "markdownDescription": "%config.workspace.checkThirdParty%", - "markdownEnumDescriptions": [ - "%config.workspace.checkThirdParty.Ask%", - "%config.workspace.checkThirdParty.Apply%", - "%config.workspace.checkThirdParty.ApplyInMemory%", - "%config.workspace.checkThirdParty.Disable%" - ], "scope": "resource", - "type": "string" + "type": [ + "string", + "boolean" + ] }, "Lua.workspace.ignoreDir": { "default": [ @@ -3353,5 +3343,5 @@ "sponsor": { "url": "https://github.com/LuaLS/lua-language-server/issues/484" }, - "version": "3.7.1" + "version": "3.7.2" } diff --git a/package.nls.json b/package.nls.json index 95277fff22facabbdc318ec93a22e7d849adf5bd..7e4fa15c8248683d665252323c2380afae97618c 100644 --- a/package.nls.json +++ b/package.nls.json @@ -220,10 +220,6 @@ "config.window.progressBar": "Show progress bar in status bar.", "config.window.statusBar": "Show extension status in status bar.", "config.workspace.checkThirdParty": "Automatic detection and adaptation of third-party libraries, currently supported libraries are:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", - "config.workspace.checkThirdParty.Apply": "TODO: Needs documentation", - "config.workspace.checkThirdParty.ApplyInMemory": "TODO: Needs documentation", - "config.workspace.checkThirdParty.Ask": "TODO: Needs documentation", - "config.workspace.checkThirdParty.Disable": "TODO: Needs documentation", "config.workspace.ignoreDir": "Ignored files and directories (Use `.gitignore` grammar).", "config.workspace.ignoreSubmodules": "Ignore submodules.", "config.workspace.library": "In addition to the current workspace, which directories will load files from. The files in these directories will be treated as externally provided code libraries, and some features (such as renaming fields) will not modify these files.", diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index aa0fdf9b5eeee24a5e93abf5f48ff967526db7d2..cff43a90788bfe0741f3c334d8595dc2b815f9a8 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -220,10 +220,6 @@ "config.window.progressBar": "Show progress bar in status bar.", "config.window.statusBar": "Show extension status in status bar.", "config.workspace.checkThirdParty": "Automatic detection and adaptation of third-party libraries, currently supported libraries are:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", - "config.workspace.checkThirdParty.Apply": "TODO: Needs documentation", - "config.workspace.checkThirdParty.ApplyInMemory": "TODO: Needs documentation", - "config.workspace.checkThirdParty.Ask": "TODO: Needs documentation", - "config.workspace.checkThirdParty.Disable": "TODO: Needs documentation", "config.workspace.ignoreDir": "Ignored files and directories (Use `.gitignore` grammar).", "config.workspace.ignoreSubmodules": "Ignore submodules.", "config.workspace.library": "In addition to the current workspace, which directories will load files from. The files in these directories will be treated as externally provided code libraries, and some features (such as renaming fields) will not modify these files.", diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index 5d947bcdfede4ba8f1bfb0bbad6f0c1cf8fbdf16..dc9a8000a893f54b4aa39671db3198a06957d8aa 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -220,10 +220,6 @@ "config.window.progressBar": "在状态栏显示进度条。", "config.window.statusBar": "在状态栏显示插件状态。", "config.workspace.checkThirdParty": "自动检测与适配第三方库,目前支持的库为:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", - "config.workspace.checkThirdParty.Apply": "TODO: Needs documentation", - "config.workspace.checkThirdParty.ApplyInMemory": "TODO: Needs documentation", - "config.workspace.checkThirdParty.Ask": "TODO: Needs documentation", - "config.workspace.checkThirdParty.Disable": "TODO: Needs documentation", "config.workspace.ignoreDir": "忽略的文件与目录(使用 `.gitignore` 语法)。", "config.workspace.ignoreSubmodules": "忽略子模块。", "config.workspace.library": "除了当前工作区以外,还会从哪些目录中加载文件。这些目录中的文件将被视作外部提供的代码库,部分操作(如重命名字段)不会修改这些文件。", diff --git a/package.nls.zh-tw.json b/package.nls.zh-tw.json index 8241019b4a4ac5cd07089f49825fd52b09b18bfc..8a4bbd95c26facd45ef75e984ce4e66ffd5278a3 100644 --- a/package.nls.zh-tw.json +++ b/package.nls.zh-tw.json @@ -220,10 +220,6 @@ "config.window.progressBar": "在狀態欄顯示進度條。", "config.window.statusBar": "在狀態欄顯示延伸模組狀態。", "config.workspace.checkThirdParty": "自動偵測與適應第三方庫,目前支援的庫為:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", - "config.workspace.checkThirdParty.Apply": "TODO: Needs documentation", - "config.workspace.checkThirdParty.ApplyInMemory": "TODO: Needs documentation", - "config.workspace.checkThirdParty.Ask": "TODO: Needs documentation", - "config.workspace.checkThirdParty.Disable": "TODO: Needs documentation", "config.workspace.ignoreDir": "忽略的檔案與目錄(使用 `.gitignore` 語法)。", "config.workspace.ignoreSubmodules": "忽略子模組。", "config.workspace.library": "除了目前工作區以外,還會從哪些目錄中載入檔案。這些目錄中的檔案將被視作外部提供的程式碼庫,部分操作(如重新命名欄位)不會修改這些檔案。", diff --git a/package/build.lua b/package/build.lua index 469267d28b8681bd4b01383592794118ca3e2929..3f8f2d10477986cbf0c3c6ea3787e590dd6c81fc 100644 --- a/package/build.lua +++ b/package/build.lua @@ -1,6 +1,6 @@ local json = require 'json-beautify' -local VERSION = "3.7.1" +local VERSION = "3.7.2" local package = require 'package.package' local fsu = require 'fs-utility' diff --git a/server b/server index 5a763b0ceecc9a817c8ce534dc726f5f6f6e1ac9..ee590a4cd1bc972ffe19e232b176aa1ffaba2d47 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit 5a763b0ceecc9a817c8ce534dc726f5f6f6e1ac9 +Subproject commit ee590a4cd1bc972ffe19e232b176aa1ffaba2d47 diff --git a/setting/schema-pt-br.json b/setting/schema-pt-br.json index 92a9d10e837f254aee72c1d183344c41751641c4..1b2505a7f780b380ec3b482ddb8c9e0a3368a1f9 100644 --- a/setting/schema-pt-br.json +++ b/setting/schema-pt-br.json @@ -3357,22 +3357,12 @@ } }, "workspace.checkThirdParty": { - "default": "Ask", - "enum": [ - "Ask", - "Apply", - "ApplyInMemory", - "Disable" - ], "markdownDescription": "Automatic detection and adaptation of third-party libraries, currently supported libraries are:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", - "markdownEnumDescriptions": [ - "TODO: Needs documentation", - "TODO: Needs documentation", - "TODO: Needs documentation", - "TODO: Needs documentation" - ], "scope": "resource", - "type": "string" + "type": [ + "string", + "boolean" + ] }, "workspace.ignoreDir": { "default": [ diff --git a/setting/schema-zh-cn.json b/setting/schema-zh-cn.json index 0c58fa95e470cfa0045c3a149bd00596a4615c20..b04d711a2546d535a64ea59e3979a1cf9da09af5 100644 --- a/setting/schema-zh-cn.json +++ b/setting/schema-zh-cn.json @@ -3357,22 +3357,12 @@ } }, "workspace.checkThirdParty": { - "default": "Ask", - "enum": [ - "Ask", - "Apply", - "ApplyInMemory", - "Disable" - ], "markdownDescription": "自动检测与适配第三方库,目前支持的库为:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", - "markdownEnumDescriptions": [ - "TODO: Needs documentation", - "TODO: Needs documentation", - "TODO: Needs documentation", - "TODO: Needs documentation" - ], "scope": "resource", - "type": "string" + "type": [ + "string", + "boolean" + ] }, "workspace.ignoreDir": { "default": [ diff --git a/setting/schema-zh-tw.json b/setting/schema-zh-tw.json index 4909e18bce375e367c81a7a6e02949cc100d07a5..ef96eb51954b8e36059c3e84e0740ea7eed0dd9d 100644 --- a/setting/schema-zh-tw.json +++ b/setting/schema-zh-tw.json @@ -3357,22 +3357,12 @@ } }, "workspace.checkThirdParty": { - "default": "Ask", - "enum": [ - "Ask", - "Apply", - "ApplyInMemory", - "Disable" - ], "markdownDescription": "自動偵測與適應第三方庫,目前支援的庫為:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", - "markdownEnumDescriptions": [ - "TODO: Needs documentation", - "TODO: Needs documentation", - "TODO: Needs documentation", - "TODO: Needs documentation" - ], "scope": "resource", - "type": "string" + "type": [ + "string", + "boolean" + ] }, "workspace.ignoreDir": { "default": [ diff --git a/setting/schema.json b/setting/schema.json index 00201b271e2537e88f6d5bbc9920d563b2043dce..d891931c109d751b00d476498fd865a3ebf85c9d 100644 --- a/setting/schema.json +++ b/setting/schema.json @@ -3357,22 +3357,12 @@ } }, "workspace.checkThirdParty": { - "default": "Ask", - "enum": [ - "Ask", - "Apply", - "ApplyInMemory", - "Disable" - ], "markdownDescription": "Automatic detection and adaptation of third-party libraries, currently supported libraries are:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n", - "markdownEnumDescriptions": [ - "TODO: Needs documentation", - "TODO: Needs documentation", - "TODO: Needs documentation", - "TODO: Needs documentation" - ], "scope": "resource", - "type": "string" + "type": [ + "string", + "boolean" + ] }, "workspace.ignoreDir": { "default": [