summaryrefslogtreecommitdiff
path: root/script/config
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-24 15:54:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-24 15:54:38 +0800
commitcf4e49ba82484254cfe2a74b12e340575324c80c (patch)
tree2962523579c9f6bb3c74dc560f17bae3359b9e08 /script/config
parent2738409e2d6d54253f48140533980f433d02efa3 (diff)
downloadlua-language-server-cf4e49ba82484254cfe2a74b12e340575324c80c.zip
diagnostic group
Diffstat (limited to 'script/config')
-rw-r--r--script/config/template.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/script/config/template.lua b/script/config/template.lua
index 3c55895d..af911718 100644
--- a/script/config/template.lua
+++ b/script/config/template.lua
@@ -239,6 +239,10 @@ local template = {
'Warning',
'Information',
'Hint',
+ 'Error!',
+ 'Warning!',
+ 'Information!',
+ 'Hint!',
}
)
>> util.deepCopy(define.DiagnosticDefaultSeverity),
@@ -248,6 +252,9 @@ local template = {
'Any',
'Opened',
'None',
+ 'Any!',
+ 'Opened!',
+ 'None!',
}
)
>> util.deepCopy(define.DiagnosticDefaultNeededFileStatus),
@@ -285,7 +292,6 @@ local template = {
'Opened',
'Disable',
},
- ['Lua.typeCheck.enable'] = Type.Boolean >> true,
['Lua.workspace.ignoreDir'] = Type.Array(Type.String) >> {
'.vscode',
},