forked from aniani/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 #6019)
This commit is contained in:
@@ -623,7 +623,10 @@ vim.command('let s ..= "B"')
|
||||
lua << trim
|
||||
vim.command('let s ..= "D"')
|
||||
.
|
||||
call assert_equal('ABCD', s)
|
||||
lua << trim eof
|
||||
vim.command('let s ..= "E"')
|
||||
eof
|
||||
call assert_equal('ABCDE', s)
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
Reference in New Issue
Block a user