summaryrefslogtreecommitdiff
path: root/server/src/constant/DiagnosticDefaultSeverity.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/constant/DiagnosticDefaultSeverity.lua')
-rw-r--r--server/src/constant/DiagnosticDefaultSeverity.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/constant/DiagnosticDefaultSeverity.lua b/server/src/constant/DiagnosticDefaultSeverity.lua
index 3cd67528..cc26cab2 100644
--- a/server/src/constant/DiagnosticDefaultSeverity.lua
+++ b/server/src/constant/DiagnosticDefaultSeverity.lua
@@ -2,6 +2,7 @@ return {
['unused-local'] = 'Hint',
['unused-function'] = 'Hint',
['undefined-global'] = 'Warning',
+ ['global-in-nil-env'] = 'Warning',
['unused-label'] = 'Hint',
['unused-vararg'] = 'Hint',
['trailing-space'] = 'Hint',