diff options
-rw-r--r-- | script/core/definition.lua | 2 | ||||
-rw-r--r-- | script/core/reference.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/script/core/definition.lua b/script/core/definition.lua index 97113ec5..6483fcac 100644 --- a/script/core/definition.lua +++ b/script/core/definition.lua @@ -124,7 +124,7 @@ return function (uri, offset) end end - for _, src in ipairs(vm.getDefs(source, 0)) do + for _, src in ipairs(vm.getDefs(source, 5)) do local root = guide.getRoot(src) if not root then goto CONTINUE diff --git a/script/core/reference.lua b/script/core/reference.lua index ce526530..ae07c71e 100644 --- a/script/core/reference.lua +++ b/script/core/reference.lua @@ -70,7 +70,7 @@ return function (uri, offset) end local results = {} - for _, src in ipairs(vm.getRefs(source, 0)) do + for _, src in ipairs(vm.getRefs(source, 5)) do local root = guide.getRoot(src) if not root then goto CONTINUE |