summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/core/completion.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/script/core/completion.lua b/script/core/completion.lua
index 83a08a83..860126b9 100644
--- a/script/core/completion.lua
+++ b/script/core/completion.lua
@@ -500,7 +500,6 @@ local function checkFieldOfRefs(refs, ast, word, start, offset, parent, oop, res
or value.type == 'doc.type.function' then
funcLabel = name .. getParams(value, oop)
fields[funcLabel] = src
- fields[name] = false
count = count + 1
if value.type == 'function' and value.bindDocs then
for _, doc in ipairs(value.bindDocs) do