fix(messages): better formatting for :highlight with ext_messages #31627

Also avoid going down message callstack with empty message, and remove expected grid for some tests where it did not change, and we are just testing for expected messages.
This commit is contained in:
luukvbaal
2024-12-19 15:24:48 +01:00
committed by GitHub
parent 02bc40c194
commit 31d6885deb
3 changed files with 17 additions and 30 deletions

View File

@@ -1887,8 +1887,7 @@ bool syn_list_header(const bool did_header, const int outlen, const int id, bool
if (got_int) {
return true;
}
msg_outtrans(hl_table[id - 1].sg_name, 0, false);
name_col = msg_col;
msg_col = name_col = msg_outtrans(hl_table[id - 1].sg_name, 0, false);
endcol = 15;
} else if ((ui_has(kUIMessages) || msg_silent) && !force_newline) {
msg_putchar(' ');