Skip to content

Commit

Permalink
fix(treesitter-matchup): Fixes #206
Browse files Browse the repository at this point in the history
  • Loading branch information
captainko committed Jan 26, 2022
1 parent f129003 commit 91c9530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/treesitter-matchup/internal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91c9530

Please sign in to comment.