summaryrefslogtreecommitdiff
path: root/script/config.lua
diff options
context:
space:
mode:
authoruhziel <uhziel@gmail.com>2020-12-15 18:17:18 +0800
committeruhziel <uhziel@gmail.com>2020-12-15 18:17:18 +0800
commit295d45c0e8b781e056138e869c5c32e876272b9c (patch)
treeaef6634f884e3482c971445ddfa5f030d5ba9323 /script/config.lua
parentf3ec5825e3c6a8090a020097e088f26718c316bb (diff)
downloadlua-language-server-295d45c0e8b781e056138e869c5c32e876272b9c.zip
指定诊断类型可以配置只分析打开的文件还是全项目,初版还需要支持vscode配置
Diffstat (limited to 'script/config.lua')
-rw-r--r--script/config.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/config.lua b/script/config.lua
index c9d8e075..74f2ff4e 100644
--- a/script/config.lua
+++ b/script/config.lua
@@ -113,6 +113,10 @@ local ConfigTemplate = {
util.deepCopy(define.DiagnosticDefaultSeverity),
Hash(String, String),
},
+ neededFileStatus = {
+ util.deepCopy(define.DiagnosticDefaultNeededFileStatus),
+ Hash(String, String),
+ },
workspaceDelay = {0, Integer},
workspaceRate = {100, Integer},
},