From e96a2498f9a2d3e93ac07431f6d4afd77f30afdf Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 25 Jun 2019 04:12:16 +0200 Subject: patch 8.1.1588: in :let-heredoc line continuation is recognized Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580) --- src/ex_cmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ex_cmds.c') diff --git a/src/ex_cmds.c b/src/ex_cmds.c index d1068c7cff..78fe17823e 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4540,7 +4540,7 @@ ex_append(exarg_T *eap) #ifdef FEAT_EVAL eap->cstack->cs_looplevel > 0 ? -1 : #endif - NUL, eap->cookie, indent); + NUL, eap->cookie, indent, TRUE); State = save_State; } lines_left = Rows - 1; @@ -5388,7 +5388,7 @@ do_sub(exarg_T *eap) for ( ; i <= (long)ec; ++i) msg_putchar('^'); - resp = getexmodeline('?', NULL, 0); + resp = getexmodeline('?', NULL, 0, TRUE); if (resp != NULL) { typed = *resp; -- cgit v1.2.3