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:
zeertzjq
2023-04-29 08:50:04 +08:00
parent 4bcf8c15b3
commit 2eb1f62e29
7 changed files with 25 additions and 7 deletions

View File

@@ -186,7 +186,10 @@ s+='B'
python << trim
s+='D'
.
call assert_equal('ABCD', pyxeval('s'))
python << trim eof
s+='E'
eof
call assert_equal('ABCDE', pyxeval('s'))
endfunc
" vim: shiftwidth=2 sts=2 expandtab