From 9a548bbdcfaec6d0d438e447d4f8699ab9b12f19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 6 Dec 2018 15:55:15 +0800 Subject: =?UTF-8?q?log=E8=BF=99=E4=B8=AA=E5=8D=95=E8=AF=8D=E4=B9=9F?= =?UTF-8?q?=E8=AE=A4=E4=B8=BA=E5=B7=B2=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/matcher/diagnostics.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/src/matcher/diagnostics.lua b/server/src/matcher/diagnostics.lua index 9c2e4efd..e53b4c1d 100644 --- a/server/src/matcher/diagnostics.lua +++ b/server/src/matcher/diagnostics.lua @@ -31,7 +31,7 @@ local function searchUndefinedGlobal(results, callback) then goto NEXT_VAR end - if var.key == 'log' then + if var.key:lower() == 'log' then goto NEXT_VAR end if not var.key:find '%l' then -- cgit v1.2.3