We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffee37b commit a329e7eCopy full SHA for a329e7e
script/cli/check_worker.lua
@@ -83,7 +83,7 @@ xpcall(lclient.start, errorhandler, lclient, function (client)
83
84
local disables = util.arrayToHash(config.get(rootUri, 'Lua.diagnostics.disable'))
85
for name, serverity in pairs(define.DiagnosticDefaultSeverity) do
86
- serverity = config.get(rootUri, 'Lua.diagnostics.severity')[name] or 'Warning'
+ serverity = config.get(rootUri, 'Lua.diagnostics.severity')[name] or serverity
87
if serverity:sub(-1) == '!' then
88
serverity = serverity:sub(1, -2)
89
end
0 commit comments