summaryrefslogtreecommitdiff
path: root/script/core/noder.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/noder.lua')
-rw-r--r--script/core/noder.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/core/noder.lua b/script/core/noder.lua
index 1aeb2f61..90f92599 100644
--- a/script/core/noder.lua
+++ b/script/core/noder.lua
@@ -1320,7 +1320,9 @@ compileNodeMap = util.switch()
, index
)
pushForward(noders, returnID, getID(rtnObj))
- pushBackward(noders, getID(rtnObj), returnID, INFO_DEEP_AND_DONT_CROSS)
+ if config.get 'Lua.IntelliSense.traceReturn' then
+ pushBackward(noders, getID(rtnObj), returnID, INFO_DEEP_AND_DONT_CROSS)
+ end
end
end
end