summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-12-16 19:44:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-12-16 19:44:49 +0800
commit6a99efd3ab8708f8efd5f12a9a4bb93acf29c661 (patch)
tree93811df34ce5f387cb36bccfebc55d8e0abcbdb9 /script
parent00be6b2734c3fa59fbf8a2ac253f9c9465d3f1a1 (diff)
downloadlua-language-server-6a99efd3ab8708f8efd5f12a9a4bb93acf29c661.zip
mark as incomplete
Diffstat (limited to 'script')
-rw-r--r--script/core/completion/completion.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua
index ffdf6413..c053379f 100644
--- a/script/core/completion/completion.lua
+++ b/script/core/completion/completion.lua
@@ -535,6 +535,7 @@ local function checkFieldOfRefs(refs, state, word, startPos, position, parent, o
local count = 0
for _, src in ipairs(refs) do
if count > 100 then
+ results.incomplete = true
break
end
local _, name = vm.viewKey(src, state.uri)