0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -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:
Bram Moolenaar
2020-05-01 14:10:13 +02:00
parent 9e175141f3
commit 6ab0953fef
9 changed files with 31 additions and 8 deletions

View File

@@ -409,7 +409,10 @@ Vim.command('let s ..= "B"')
ruby << trim
Vim.command('let s ..= "D"')
.
call assert_equal('ABCD', s)
ruby << trim eof
Vim.command('let s ..= "E"')
eof
call assert_equal('ABCDE', s)
endfunc
" vim: shiftwidth=2 sts=2 expandtab