diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/core/definition.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/core/definition.lua b/server/src/core/definition.lua index fe8db860..a7296bfb 100644 --- a/server/src/core/definition.lua +++ b/server/src/core/definition.lua @@ -107,7 +107,7 @@ local function parseLocal(vm, source, lsp) local value = source:bindValue() if value and value.uri ~= '' and value.uri ~= vm.uri then local positions = parseValueCrossFile(vm, source, lsp) - if #positions > 0 then + if positions and #positions > 0 then return positions end end |