mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
Merge pull request #27590 from bfredl/signcolfix
fix(marktree): do not count certain marks twice when checking for overlap
This commit is contained in:
@@ -1831,7 +1831,7 @@ bool marktree_itr_step_overlap(MarkTree *b, MarkTreeIter *itr, MTPair *pair)
|
||||
}
|
||||
unrelative(itr->pos, &k.pos);
|
||||
MTKey start = marktree_lookup(b, id, NULL);
|
||||
if (pos_less(itr->intersect_pos, start.pos)) {
|
||||
if (pos_leq(itr->intersect_pos, start.pos)) {
|
||||
continue;
|
||||
}
|
||||
*pair = mtpair_from(start, k);
|
||||
|
Reference in New Issue
Block a user