summaryrefslogtreecommitdiff
path: root/server/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core')
-rw-r--r--server/src/core/highlight.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/highlight.lua b/server/src/core/highlight.lua
index 53000e66..2073573d 100644
--- a/server/src/core/highlight.lua
+++ b/server/src/core/highlight.lua
@@ -30,7 +30,7 @@ local function parseResult(source)
local parent = source:get 'parent'
local mark = {}
parent:eachInfo(function (info, src)
- if not mark[src] then
+ if not mark[src] and source.uri == src.uri then
mark[src] = info
if info.type == 'get child' or info.type == 'set child' then
if info[1] == source[1] then