summaryrefslogtreecommitdiff
path: root/server/src/core/definition.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/definition.lua')
-rw-r--r--server/src/core/definition.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/definition.lua b/server/src/core/definition.lua
index 87bdc097..e240e614 100644
--- a/server/src/core/definition.lua
+++ b/server/src/core/definition.lua
@@ -95,7 +95,7 @@ end
local function parseLocal(vm, source, lsp)
local loc = source:bindLocal()
local value = source:bindValue()
- if value.uri ~= vm.uri then
+ if value.uri ~= '' and value.uri ~= vm.uri then
return parseValueCrossFile(vm, source, lsp)
end
local positions = {}