From 12d6a9eb75f31b64cbc89eb3265805bc8dad01f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 15 Feb 2022 20:10:00 +0800 Subject: cleanup --- script/core/diagnostics/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'script/core/diagnostics/init.lua') 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) -- cgit v1.2.3