summaryrefslogtreecommitdiff
path: root/server/src/core/highlight.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/highlight.lua')
-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 c71aab8b..53000e66 100644
--- a/server/src/core/highlight.lua
+++ b/server/src/core/highlight.lua
@@ -26,7 +26,7 @@ local function parseResult(source)
end)
return positions
end
- if source:bindValue() then
+ if source:bindValue() and source:get 'parent' then
local parent = source:get 'parent'
local mark = {}
parent:eachInfo(function (info, src)