summaryrefslogtreecommitdiff
path: root/script/core/completion/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/completion/completion.lua')
-rw-r--r--script/core/completion/completion.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua
index edbb2673..471566b3 100644
--- a/script/core/completion/completion.lua
+++ b/script/core/completion/completion.lua
@@ -207,7 +207,6 @@ local function getSnip(source)
end
local defs = vm.getDefs(source)
for _, def in ipairs(defs) do
- def = vm.getObjectValue(def) or def
if def ~= source and def.type == 'function' then
local uri = guide.getUri(def)
local text = files.getText(uri)