summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-27 21:38:09 +0800
committersumneko <sumneko@hotmail.com>2019-05-27 21:38:09 +0800
commitd4939ce2c4061b65efe2896db83ef07617021bf8 (patch)
treed42ef72029c1d426291f228d8533a53297674c09 /server
parent23c895e096b8bf9c0873ce3efaca862db246e236 (diff)
downloadlua-language-server-d4939ce2c4061b65efe2896db83ef07617021bf8.zip
先加个配置
Diffstat (limited to 'server')
-rw-r--r--server/src/config.lua3
-rw-r--r--server/test/build_package.lua6
2 files changed, 9 insertions, 0 deletions
diff --git a/server/src/config.lua b/server/src/config.lua
index 7ee2c959..c948a2b6 100644
--- a/server/src/config.lua
+++ b/server/src/config.lua
@@ -120,6 +120,9 @@ local ConfigTemplate = {
String,
Or(Boolean, Array(String))
)}
+ },
+ zombi = {
+ party = {false, Boolean},
}
}
diff --git a/server/test/build_package.lua b/server/test/build_package.lua
index f559b6ba..b0e6a4a6 100644
--- a/server/test/build_package.lua
+++ b/server/test/build_package.lua
@@ -111,6 +111,12 @@ local package = {
default = 100,
description = "%config.workspace.preloadFileSize%"
},
+ ["Lua.zombi.party"] = {
+ scope = "resource",
+ type = "boolean",
+ default = false,
+ description = "DONT TOUCH ME >_<"
+ }
--["Lua.workspace.library"] = {
-- scope = 'resource',
-- type = 'object',