mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
vim-patch:8.2.1075: Vim9: no line break allowed in :echo expression
Problem: Vim9: no line break allowed in :echo expression.
Solution: Skip linebreak.
7e8967fdcd
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
10b8c6481f
commit
64a91f5ea2
@ -7447,7 +7447,10 @@ void ex_echo(exarg_T *eap)
|
|||||||
const int did_emsg_before = did_emsg;
|
const int did_emsg_before = did_emsg;
|
||||||
const int called_emsg_before = called_emsg;
|
const int called_emsg_before = called_emsg;
|
||||||
|
|
||||||
evalarg_T evalarg = { .eval_flags = eap->skip ? 0 : EVAL_EVALUATE };
|
evalarg_T evalarg = {
|
||||||
|
.eval_flags = eap->skip ? 0 : EVAL_EVALUATE,
|
||||||
|
.eval_cookie = eap->getline == getsourceline ? eap->cookie : NULL,
|
||||||
|
};
|
||||||
|
|
||||||
if (eap->skip) {
|
if (eap->skip) {
|
||||||
emsg_skip++;
|
emsg_skip++;
|
||||||
|
Loading…
Reference in New Issue
Block a user