Merge pull request #20984 from notomo/fix-message-kind-on-history

fix(ui-ext): correct message kind in history before vim.ui_attach()
This commit is contained in:
bfredl
2022-11-13 09:53:02 +01:00
committed by GitHub
2 changed files with 28 additions and 0 deletions

View File

@@ -3153,6 +3153,7 @@ int msg_end(void)
void msg_ext_ui_flush(void)
{
if (!ui_has(kUIMessages)) {
msg_ext_kind = NULL;
return;
}