diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-02-15 20:10:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-02-15 20:10:00 +0800 |
commit | 12d6a9eb75f31b64cbc89eb3265805bc8dad01f0 (patch) | |
tree | 031a449c1222ef1705d34fbb22c11ef1ea388ee5 /script/core/diagnostics/init.lua | |
parent | bf8b18fe8d2f3cc470021e32b9d5f11ec765a643 (diff) | |
download | lua-language-server-12d6a9eb75f31b64cbc89eb3265805bc8dad01f0.zip |
cleanup
Diffstat (limited to 'script/core/diagnostics/init.lua')
-rw-r--r-- | script/core/diagnostics/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/diagnostics/init.lua b/script/core/diagnostics/init.lua index 562b526d..4368f51a 100644 --- a/script/core/diagnostics/init.lua +++ b/script/core/diagnostics/init.lua @@ -82,6 +82,7 @@ local function check(uri, name, isScopeDiag, response) return end mark[result.start] = true + result.level = severity or result.level result.code = name response(result) |