diff options
Diffstat (limited to 'server/src/core/completion.lua')
-rw-r--r-- | server/src/core/completion.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/core/completion.lua b/server/src/core/completion.lua index 685aa8d3..4d735d9d 100644 --- a/server/src/core/completion.lua +++ b/server/src/core/completion.lua @@ -103,6 +103,9 @@ local function searchLocals(vm, pos, name, callback) if loc.source.start == 0 then goto CONTINUE end + if not loc.close then + log.debug('Miss loc close', table.dump(loc)) + end if loc.source.start <= pos and loc.close >= pos then if matchKey(name, loc.key) then callback(loc) |