diff options
Diffstat (limited to 'script/cli/check_worker.lua')
-rw-r--r-- | script/cli/check_worker.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/cli/check_worker.lua b/script/cli/check_worker.lua index 0a121344..23c34b2c 100644 --- a/script/cli/check_worker.lua +++ b/script/cli/check_worker.lua @@ -83,7 +83,7 @@ xpcall(lclient.start, errorhandler, lclient, function (client) local disables = util.arrayToHash(config.get(rootUri, 'Lua.diagnostics.disable')) for name, serverity in pairs(define.DiagnosticDefaultSeverity) do - serverity = config.get(rootUri, 'Lua.diagnostics.severity')[name] or 'Warning' + serverity = config.get(rootUri, 'Lua.diagnostics.severity')[name] or serverity if serverity:sub(-1) == '!' then serverity = serverity:sub(1, -2) end |