mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.0369: continuation lines cannot contain comments
Problem: Continuation lines cannot contain comments. Solution: Support using "\ .
This commit is contained in:
@@ -42,3 +42,14 @@ func Test_mkdir_p()
|
||||
call delete('Xfile')
|
||||
call delete('Xmkdir', 'rf')
|
||||
endfunc
|
||||
|
||||
func Test_line_continuation()
|
||||
let array = [5,
|
||||
"\ ignore this
|
||||
\ 6,
|
||||
"\ more to ignore
|
||||
"\ more moreto ignore
|
||||
\ ]
|
||||
"\ and some more
|
||||
call assert_equal([5, 6], array)
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user