From 978509e517c4d0dae487b169c71cec7174a547ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= <sumneko@hotmail.com>
Date: Thu, 9 Nov 2023 14:16:05 +0800
Subject: [PATCH] 3.7.2

---
 changelog.md              |  6 ++++++
 package.json              | 20 +++++---------------
 package.nls.json          |  4 ----
 package.nls.pt-br.json    |  4 ----
 package.nls.zh-cn.json    |  4 ----
 package.nls.zh-tw.json    |  4 ----
 package/build.lua         |  2 +-
 server                    |  2 +-
 setting/schema-pt-br.json | 18 ++++--------------
 setting/schema-zh-cn.json | 18 ++++--------------
 setting/schema-zh-tw.json | 18 ++++--------------
 setting/schema.json       | 18 ++++--------------
 12 files changed, 29 insertions(+), 89 deletions(-)

diff --git a/changelog.md b/changelog.md
index a6edb61..c29e972 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 e69ab08..ce6d902 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 95277ff..7e4fa15 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 aa0fdf9..cff43a9 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 5d947bc..dc9a800 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 8241019..8a4bbd9 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 469267d..3f8f2d1 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 5a763b0..ee590a4 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 92a9d10..1b2505a 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 0c58fa9..b04d711 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 4909e18..ef96eb5 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 00201b2..d891931 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": [
-- 
GitLab