diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-07 17:24:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-07 17:24:21 +0800 |
commit | 0422608832d81136e26ebffefa148ff09a34e3a7 (patch) | |
tree | f228e612385c1c4745a4511e07250483297a713c /script-beta/parser/guide.lua | |
parent | 0fef0a5d68647347e1be661c2fa8db4cbe971d8c (diff) | |
download | lua-language-server-0422608832d81136e26ebffefa148ff09a34e3a7.zip |
整理一下代码
Diffstat (limited to 'script-beta/parser/guide.lua')
-rw-r--r-- | script-beta/parser/guide.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index bdb4dcd0..ec353083 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -1464,11 +1464,10 @@ function m.checkSameSimpleAsTableField(status, ref, start, queue) end function m.checkSearchLevel(status) - -- TODO 限制向前搜索的次数 - do return false end status.cache.back = status.cache.back or 0 if status.cache.back >= (status.interface.searchLevel or 0) then - return true + -- TODO 限制向前搜索的次数 + --return true end status.cache.back = status.cache.back + 1 return false |