summaryrefslogtreecommitdiff
path: root/script-beta/core
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/core')
-rw-r--r--script-beta/core/reference.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/core/reference.lua b/script-beta/core/reference.lua
index 57b06a84..e5162be8 100644
--- a/script-beta/core/reference.lua
+++ b/script-beta/core/reference.lua
@@ -75,6 +75,9 @@ return function (uri, offset)
if not root then
goto CONTINUE
end
+ if vm.isMetaFile(root.uri) then
+ goto CONTINUE
+ end
if src.type == 'setfield'
or src.type == 'getfield'
or src.type == 'tablefield' then