mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
fix(extmark): fix crash when stepping out from internal node
This commit is contained in:
@@ -1419,7 +1419,7 @@ bool marktree_itr_get_ext(MarkTree *b, MTPos p, MarkTreeIter *itr, bool last, bo
|
||||
return marktree_itr_prev(b, itr);
|
||||
} else if (itr->i >= itr->x->n) {
|
||||
// no need for "meta_filter" here, this just goes up one step
|
||||
return marktree_itr_next(b, itr);
|
||||
return marktree_itr_next_skip(b, itr, true, false, NULL, NULL);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user