diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-03 01:45:35 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-03 02:08:18 -0400 |
| commit | 96a8b0ab787c7d7148eb4c9881fdb5e022996081 (patch) | |
| tree | 27565ee941cd97515399964f5e22018817a9d022 /src/nvim/testdir | |
| parent | 4b287119fe798da1ca1ae5b96f6503972ed3a229 (diff) | |
| download | rneovim-96a8b0ab787c7d7148eb4c9881fdb5e022996081.tar.gz rneovim-96a8b0ab787c7d7148eb4c9881fdb5e022996081.tar.bz2 rneovim-96a8b0ab787c7d7148eb4c9881fdb5e022996081.zip | |
vim-patch:8.1.0369: continuation lines cannot contain comments
Problem: Continuation lines cannot contain comments.
Solution: Support using "\ .
https://github.com/vim/vim/commit/67f8ab829911c7901c534ef2bf19cc34b622936f
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_eval_stuff.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_eval_stuff.vim b/src/nvim/testdir/test_eval_stuff.vim index a99b7e9c0b..1850fb0cf1 100644 --- a/src/nvim/testdir/test_eval_stuff.vim +++ b/src/nvim/testdir/test_eval_stuff.vim @@ -38,3 +38,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 |