diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-24 12:04:41 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-24 12:04:41 +0800 |
commit | e73c4c645e2d2ec223f765bf23e37b5e47021081 (patch) | |
tree | d743a2ea3abe143a93fae64d8f7bc3109f5da525 /script/core/definition.lua | |
parent | 5008a0b5ff0859b059f7a43a65d0571b301935c9 (diff) | |
download | lua-language-server-e73c4c645e2d2ec223f765bf23e37b5e47021081.zip |
only reference quest use extra deep
Diffstat (limited to 'script/core/definition.lua')
-rw-r--r-- | script/core/definition.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/definition.lua b/script/core/definition.lua index 6483fcac..97113ec5 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, 5)) do + for _, src in ipairs(vm.getDefs(source, 0)) do local root = guide.getRoot(src) if not root then goto CONTINUE |