fix(sign): reset auto sign column with minimum in float win minimal style

This commit is contained in:
Sirisak Lueangsaksri
2021-08-03 22:06:52 +07:00
parent 68f61b167e
commit c8f57f6ded
2 changed files with 129 additions and 1 deletions

View File

@@ -676,7 +676,7 @@ void win_set_minimal_style(win_T *wp)
}
// signcolumn: use 'auto'
if (wp->w_p_scl[0] != 'a') {
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");
}