mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user