summaryrefslogtreecommitdiff
path: root/script/core/searcher.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-28 19:01:04 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-28 19:01:04 +0800
commit12bbba0a9d121d10f8cd4789e279c2d4d048d0c0 (patch)
treeb0fb1c34b0986798eb8a8022641e76a776473100 /script/core/searcher.lua
parent3c1a0b84d9f6739d0c3194f5c53aa514bf2423de (diff)
downloadlua-language-server-12bbba0a9d121d10f8cd4789e279c2d4d048d0c0.zip
increase length limit
Diffstat (limited to 'script/core/searcher.lua')
-rw-r--r--script/core/searcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/searcher.lua b/script/core/searcher.lua
index 0346ac94..16af5798 100644
--- a/script/core/searcher.lua
+++ b/script/core/searcher.lua
@@ -272,7 +272,7 @@ local function stop(status, msg)
end
local function checkSLock(status, slock, id, field)
- if noder.getIDLength(id) > 20 then
+ if noder.getIDLength(id) > 100 then
stop(status, 'too long!')
return false
end