only check got_int with ex_echo

Ref: https://github.com/neovim/neovim/pull/10926#discussion_r320706446
This commit is contained in:
Daniel Hahler
2019-09-04 13:30:11 +02:00
parent 4556bb90fa
commit ac6fd11fa1
2 changed files with 4 additions and 4 deletions

View File

@@ -20903,7 +20903,7 @@ void ex_echo(exarg_T *eap)
char *tofree = encode_tv2echo(&rettv, NULL);
if (*tofree != NUL) {
msg_ext_set_kind("echo");
msg_multiline_attr(tofree, echo_attr);
msg_multiline_attr(tofree, echo_attr, true);
}
xfree(tofree);
}