mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
fix(treesitter-matchup): Fixes #206
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user