backport: refactor(sign): include longer sign column option

This commit is contained in:
Sirisak Lueangsaksri
2021-08-08 02:12:37 +07:00
committed by Sean Dewar
parent 5c42376c15
commit d0e9a11e39

View File

@@ -676,7 +676,7 @@ void win_set_minimal_style(win_T *wp)
}
// signcolumn: use 'auto'
if (wp->w_p_scl[0] != 'a' || STRLEN(wp->w_p_scl) == 8) {
if (wp->w_p_scl[0] != 'a' || STRLEN(wp->w_p_scl) >= 8) {
xfree(wp->w_p_scl);
wp->w_p_scl = (char_u *)xstrdup("auto");
}