summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-09 14:47:21 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-09 14:47:21 +0800
commit0c4b63eedc5d2be2cf560048b833842db96e2e63 (patch)
tree8030f5f59b78b30968ffd3c74f706572bf12db90 /server
parent450c521b072dd2af04a33ade4a19894a4a163f33 (diff)
downloadlua-language-server-0c4b63eedc5d2be2cf560048b833842db96e2e63.zip
设置支持字符串数组
Diffstat (limited to 'server')
-rw-r--r--server/test/build_package.lua16
1 files changed, 12 insertions, 4 deletions
diff --git a/server/test/build_package.lua b/server/test/build_package.lua
index a54917f2..36d0d6b2 100644
--- a/server/test/build_package.lua
+++ b/server/test/build_package.lua
@@ -54,7 +54,9 @@ local package = {
["Lua.runtime.path"] = {
scope = "resource",
type = "array",
- items = "string",
+ items = {
+ type = 'string',
+ },
markdownDescription = "%config.runtime.path%",
default = {
"?.lua",
@@ -71,13 +73,17 @@ local package = {
["Lua.diagnostics.disable"] = {
scope = "resource",
type = "array",
- items = "string",
+ items = {
+ type = 'string',
+ },
markdownDescription = "%config.diagnostics.disable%"
},
["Lua.diagnostics.globals"] = {
scope = "resource",
type = "array",
- items = "string",
+ items = {
+ type = 'string',
+ },
markdownDescription = "%config.diagnostics.globals%"
},
["Lua.diagnostics.severity"] = {
@@ -90,7 +96,9 @@ local package = {
["Lua.workspace.ignoreDir"] = {
scope = "resource",
type = "array",
- items = "string",
+ items = {
+ type = 'string',
+ },
markdownDescription = "%config.workspace.ignoreDir%"
},
["Lua.workspace.ignoreSubmodules"] = {