Merge pull request #17694 from lewis6991/fix_signcol

fix(signcol): always trigger a redraw
This commit is contained in:
bfredl 2022-03-18 11:07:13 +01:00 committed by GitHub
commit 0a81a33a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5482,6 +5482,7 @@ void buf_signcols_add_check(buf_T *buf, sign_entry_T *added)
buf->b_signcols.max++;
}
buf->b_signcols.size++;
redraw_buf_later(buf, NOT_VALID);
return;
}
@ -5502,6 +5503,7 @@ void buf_signcols_add_check(buf_T *buf, sign_entry_T *added)
buf->b_signcols.size = linesum;
buf->b_signcols.max = linesum;
buf->b_signcols.sentinel = added->se_lnum;
redraw_buf_later(buf, NOT_VALID);
}
}