fix(marks): read from the correct variable in conceal_lines mark collection (#39991)

Problem:  Not using current mark for namespace check during iteration for conceal_line marks.
Solution: Use the appropriate mark variable for namespace check.
(cherry picked from commit 70792aa6e4)
This commit is contained in:
Michał Dominiak
2026-05-25 04:19:26 -05:00
committed by github-actions[bot]
parent cc1982bd06
commit d1cf3ab4c3

View File

@@ -894,7 +894,7 @@ bool decor_conceal_line(win_T *wp, int row, bool check_cursor)
if (mark.pos.row > row) {
break;
}
if (mt_conceal_lines(mark) && ns_in_win(pair.start.ns, wp)) {
if (mt_conceal_lines(mark) && ns_in_win(mark.ns, wp)) {
return true;
}
marktree_itr_next_filter(wp->w_buffer->b_marktree, itr, row + 1, 0, conceal_filter);