fix(treesitter-matchup): Fixes #206

This commit is contained in:
captainko
2022-01-26 12:05:06 +07:00
parent f129003823
commit 91c9530d49

View File

@@ -260,7 +260,7 @@ end
function M.get_matching(delim, down, bufnr)
down = down > 0
local info = cache:get(delim._id)
local info = cache:get(delim._id) or {}
if info.bufnr ~= bufnr then
return {}
end