diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/matcher/diagnostics.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/matcher/diagnostics.lua b/server/src/matcher/diagnostics.lua index 28a18013..f3aeb9c4 100644 --- a/server/src/matcher/diagnostics.lua +++ b/server/src/matcher/diagnostics.lua @@ -28,7 +28,8 @@ local function searchUndefinedGlobal(results, callback) goto NEXT_VAR end if type(index) == 'string' then - if index:lower() == 'log' then + local lIndex = index:lower() + if lIndex == 'log' or lIndex == 'arg' then goto NEXT_VAR end if not index:find '%l' then |