mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
vim-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 vim/vim#6019)
6ab0953fef
This commit is contained in:
@@ -214,7 +214,7 @@ list_T *heredoc_get(exarg_T *eap, char *cmd, bool script_get)
|
||||
return NULL;
|
||||
}
|
||||
*p = NUL;
|
||||
if (islower((uint8_t)(*marker))) {
|
||||
if (!script_get && islower((uint8_t)(*marker))) {
|
||||
emsg(_("E221: Marker cannot start with lower case letter"));
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user