From 70792aa6e4f8194b29bfb86e63a5b46240122f3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dominiak?= Date: Mon, 25 May 2026 04:19:26 -0500 Subject: [PATCH] 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. --- src/nvim/decoration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/decoration.c b/src/nvim/decoration.c index 825e30087a..114e845eec 100644 --- a/src/nvim/decoration.c +++ b/src/nvim/decoration.c @@ -898,7 +898,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);