diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/core/highlight.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/highlight.lua b/script/core/highlight.lua index 3ae4dcb2..d1f11906 100644 --- a/script/core/highlight.lua +++ b/script/core/highlight.lua @@ -265,6 +265,9 @@ return function (uri, offset) if isLiteral ~= isLiteralValue(target) then return end + if not files.eq(uri, guide.getUri(target)) then + return + end local kind if target.type == 'getfield' then target = target.field |