summaryrefslogtreecommitdiff
path: root/server/src/core/diagnostics.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-10 10:29:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-10 10:29:55 +0800
commit2653a291a0c7482a338bb94447be2967a429fe44 (patch)
tree3391ba24a5f7c1e34faf869c0b75b7b4475f3a47 /server/src/core/diagnostics.lua
parent2a0d80c2dfbb0b00414a58cca4d06c397ec8e691 (diff)
downloadlua-language-server-2653a291a0c7482a338bb94447be2967a429fe44.zip
arg配到lib里
Diffstat (limited to 'server/src/core/diagnostics.lua')
-rw-r--r--server/src/core/diagnostics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua
index 7ab7e664..a8d38448 100644
--- a/server/src/core/diagnostics.lua
+++ b/server/src/core/diagnostics.lua
@@ -45,7 +45,7 @@ local function searchUndefinedGlobal(results, callback)
goto NEXT_VAR
end
local lIndex = index:lower()
- if lIndex == 'log' or lIndex == 'arg' or lIndex == '' then
+ if lIndex == 'log' or lIndex == '' then
goto NEXT_VAR
end
if index:find '^_*%u' then