From 6a99efd3ab8708f8efd5f12a9a4bb93acf29c661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 16 Dec 2022 19:44:49 +0800 Subject: mark as incomplete --- script/core/completion/completion.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'script') 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) -- cgit v1.2.3