summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-16 17:44:11 +0800
committersumneko <sumneko@hotmail.com>2019-04-16 17:44:11 +0800
commit2c185dc55131dd7ccd490e53b5f44c48461687fe (patch)
tree459e3710f1a19cfa78a3fd5034312ced623dcbec
parent74f4749dc840e169ac25b7848f1f882b62388871 (diff)
downloadlua-language-server-2c185dc55131dd7ccd490e53b5f44c48461687fe.zip
修正一个报错
-rw-r--r--server/src/config.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/config.lua b/server/src/config.lua
index 2c04858f..1396de92 100644
--- a/server/src/config.lua
+++ b/server/src/config.lua
@@ -120,8 +120,8 @@ local function init()
end
Other = {}
- for k, v in pairs(OtherTemplate) do
- Other[k] = v
+ for k, info in pairs(OtherTemplate) do
+ Other[k] = info[1]
end
end