From d1cf3ab4c36b3633d26ff6de3fc9857b1f9b1312 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. (cherry picked from commit 70792aa6e4f8194b29bfb86e63a5b46240122f3c) --- 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 eda711e074..5a7cb3fbe5 100644 --- a/src/nvim/decoration.c +++ b/src/nvim/decoration.c @@ -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);