From 2eb1f62e29c54fe4d3cebcff388ea6c239313980 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 29 Apr 2023 08:50:04 +0800 Subject: 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) https://github.com/vim/vim/commit/6ab0953fefe31fef91e40752a675ceb60fc2fe03 --- test/old/testdir/test_python3.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/old/testdir/test_python3.vim') diff --git a/test/old/testdir/test_python3.vim b/test/old/testdir/test_python3.vim index 60773c5b2a..23c63f22d8 100644 --- a/test/old/testdir/test_python3.vim +++ b/test/old/testdir/test_python3.vim @@ -281,7 +281,10 @@ s+='B' python3 << trim s+='D' . - call assert_equal('ABCD', pyxeval('s')) + python3 << trim eof + s+='E' + eof + call assert_equal('ABCDE', pyxeval('s')) endfunc " vim: shiftwidth=2 sts=2 expandtab -- cgit