mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Fix bug with missing node text, fix #222
This commit is contained in:
@@ -303,7 +303,7 @@ function M.get_matching(delim, down, bufnr)
|
||||
|
||||
local target_scope = M.containing_scope(node, bufnr, info.key)
|
||||
if info.scope == target_scope then
|
||||
local text = _node_text(node, bufnr)
|
||||
local text = _node_text(node, bufnr) or ''
|
||||
table.insert(matches, {text, row + 1, col + 1})
|
||||
|
||||
if side == 'close' then
|
||||
|
||||
Reference in New Issue
Block a user