mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.0672: heredoc in scripts does not accept lower case marker
Problem: Heredoc in scripts does not accept lower case marker. Solution: Allow lower case only in non-Vim scripts. (Ken Takata, closes #6019)
This commit is contained in:
@@ -595,7 +595,7 @@ heredoc_get(exarg_T *eap, char_u *cmd, int script_get)
|
||||
return NULL;
|
||||
}
|
||||
*p = NUL;
|
||||
if (vim_islower(*marker))
|
||||
if (!script_get && vim_islower(*marker))
|
||||
{
|
||||
emsg(_("E221: Marker cannot start with lower case letter"));
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user