diff options
Diffstat (limited to 'script-beta/core/reference.lua')
-rw-r--r-- | script-beta/core/reference.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/script-beta/core/reference.lua b/script-beta/core/reference.lua index e5162be8..d7d3df03 100644 --- a/script-beta/core/reference.lua +++ b/script-beta/core/reference.lua @@ -78,6 +78,13 @@ return function (uri, offset) if vm.isMetaFile(root.uri) then goto CONTINUE end + if ( src.type == 'doc.class.name' + or src.type == 'doc.type.name' + ) + and source.type ~= 'doc.type.name' + and source.type ~= 'doc.class.name' then + goto CONTINUE + end if src.type == 'setfield' or src.type == 'getfield' or src.type == 'tablefield' then |