test: sign on wrapped line with signcolumn=number (#26654)

This commit is contained in:
zeertzjq
2023-12-19 21:25:33 +08:00
committed by GitHub
parent 0c22081f62
commit 674a20ac47
2 changed files with 33 additions and 3 deletions

View File

@@ -954,7 +954,6 @@ int showmode(void)
lines_left = 0;
if (do_mode) {
int sub_attr;
msg_puts_attr("--", attr);
// CTRL-X in Insert mode
if (edit_submode != NULL && !shortmess(SHM_COMPLETIONMENU)) {
@@ -981,7 +980,8 @@ int showmode(void)
}
if (edit_submode_extra != NULL) {
msg_puts_attr(" ", attr); // Add a space in between.
if ((int)edit_submode_highl < HLF_COUNT) {
int sub_attr;
if (edit_submode_highl < HLF_COUNT) {
sub_attr = win_hl_attr(curwin, (int)edit_submode_highl);
} else {
sub_attr = attr;