mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 10:31:48 +00:00
fix(column): avoid exceeding configured 'signcolumn' width
This commit is contained in:
committed by
Lewis Russell
parent
720a3518e3
commit
2ded2e75f4
@@ -1211,7 +1211,7 @@ static bool win_redraw_signcols(win_T *wp)
|
||||
} else if (wp->w_maxscwidth <= 1 && buf->b_signs_with_text >= (size_t)wp->w_maxscwidth) {
|
||||
width = wp->w_maxscwidth;
|
||||
} else {
|
||||
width = buf_signcols_validate(wp, buf, false);
|
||||
width = MIN(wp->w_maxscwidth, buf_signcols_validate(wp, buf, false));
|
||||
}
|
||||
|
||||
int scwidth = wp->w_scwidth;
|
||||
|
||||
Reference in New Issue
Block a user