mirror of
https://github.com/neovim/neovim.git
synced 2026-08-27 01:21:48 +00:00
fix(extmarks): don't show virt lines for end mark
(cherry picked from commit ffbf0cecb6)
This commit is contained in:
committed by
github-actions[bot]
parent
e953f29c9b
commit
edf2a5aa25
@@ -587,7 +587,7 @@ int decor_virt_lines(win_T *wp, linenr_T lnum, VirtLines *lines, TriState has_fo
|
||||
mtkey_t mark = marktree_itr_current(itr);
|
||||
if (mark.pos.row < 0 || mark.pos.row >= end_row) {
|
||||
break;
|
||||
} else if (marktree_decor_level(mark) < kDecorLevelVirtLine) {
|
||||
} else if (mt_end(mark) || marktree_decor_level(mark) < kDecorLevelVirtLine) {
|
||||
goto next_mark;
|
||||
}
|
||||
bool above = mark.pos.row > (lnum - 2);
|
||||
|
||||
Reference in New Issue
Block a user