summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/core/diagnostics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua
index 571e083b..848a9fb7 100644
--- a/server/src/core/diagnostics.lua
+++ b/server/src/core/diagnostics.lua
@@ -249,7 +249,7 @@ return function (vm, lines, uri)
-- 未使用的局部变量
session:doDiagnostics(session.searchUnusedLocals, 'unused-local', function (key)
return {
- level = DiagnosticSeverity.Information,
+ level = DiagnosticSeverity.Hint,
message = lang.script('DIAG_UNUSED_LOCAL', key),
}
end)