summaryrefslogtreecommitdiff
path: root/script/config.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-05 17:19:44 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-05 17:19:44 +0800
commit605ed7e981b42507ae27e494617f5b3da3c2ece1 (patch)
treeebdc4f74dff1f7ef5bc23e2dd658a2d3383c2d2d /script/config.lua
parentcb30a8f68bb18e210a2a2853aaaa583507bdf1b8 (diff)
downloadlua-language-server-605ed7e981b42507ae27e494617f5b3da3c2ece1.zip
修正报错
Diffstat (limited to 'script/config.lua')
-rw-r--r--script/config.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/config.lua b/script/config.lua
index 8ad53b41..b97f31a5 100644
--- a/script/config.lua
+++ b/script/config.lua
@@ -105,7 +105,7 @@ local ConfigTemplate = {
globals = {{}, Str2Hash ';'},
disable = {{}, Str2Hash ';'},
severity = {
- util.deepCopy(define.DiagnosticDefaultSeverity),
+ table.deepCopy(DiagnosticDefaultSeverity),
Hash(String, String),
},
workspaceDelay = {0, Integer},