summaryrefslogtreecommitdiff
path: root/script-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-22 20:34:25 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-22 20:34:25 +0800
commit188ac526272e64581dbeaef2ab4629b236ad1d23 (patch)
tree39cf69eb6b152ef5c41ccf985a66016f21f1086f /script-beta
parent9fa30f145071d6b7059a017c406649f049c03eee (diff)
downloadlua-language-server-188ac526272e64581dbeaef2ab4629b236ad1d23.zip
上限先提升到 9999
Diffstat (limited to 'script-beta')
-rw-r--r--script-beta/parser/guide.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua
index 7a4f643c..0b435204 100644
--- a/script-beta/parser/guide.lua
+++ b/script-beta/parser/guide.lua
@@ -1988,8 +1988,8 @@ function m.searchSameFields(status, simple, mode)
}
end
local i = 0
- local see = 0
- while see <= 999 do
+ local max = 0
+ while max <= 9999 do
i = i + 1
local data = queue[i]
if not data then
@@ -1997,7 +1997,7 @@ function m.searchSameFields(status, simple, mode)
end
if not status.lock[data.obj] then
status.lock[data.obj] = true
- see = see + 1
+ max = max + 1
status.cache.count = status.cache.count + 1
m.checkSameSimple(status, simple, data, mode, status.results, queue)
end