diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2014-10-23 15:20:01 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2014-10-23 15:20:01 -0400 |
| commit | d1e063a8af57661c37da31954346b2b9f73dd9b5 (patch) | |
| tree | 1b7ed81e248087112fdf58291e0189c75a26359a /src/nvim/testdir | |
| parent | b8401550a739b6007c0e6fe3ace583dde3001379 (diff) | |
| parent | 87cf661af621f2bcc9314ad7ae2c65df82974f8a (diff) | |
| download | rneovim-d1e063a8af57661c37da31954346b2b9f73dd9b5.tar.gz rneovim-d1e063a8af57661c37da31954346b2b9f73dd9b5.tar.bz2 rneovim-d1e063a8af57661c37da31954346b2b9f73dd9b5.zip | |
Merge pull request #1332 from splinterofchaos/listbr
vim-patch:7.4.422
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_listlbr.in | 10 | ||||
| -rw-r--r-- | src/nvim/testdir/test_listlbr.ok | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_listlbr.in b/src/nvim/testdir/test_listlbr.in index 0cce4c23a5..2f28126554 100644 --- a/src/nvim/testdir/test_listlbr.in +++ b/src/nvim/testdir/test_listlbr.in @@ -46,6 +46,16 @@ STARTTEST :redraw! :let line=ScreenChar(winwidth(0)) :call DoRecordScreen() +:let line="_S_\t bla" +:$put =line +:$ +:norm! zt +:let g:test ="Test 5: set linebreak with conceal and set list and tab displayed by different char (line may not be truncated)" +:set cpo&vim list linebreak conceallevel=2 concealcursor=nv listchars=tab:ab +:syn match ConcealVar contained /_/ conceal +:syn match All /.*/ contains=ConcealVar +:let line=ScreenChar(winwidth(0)) +:call DoRecordScreen() :%w! test.out :qa! ENDTEST diff --git a/src/nvim/testdir/test_listlbr.ok b/src/nvim/testdir/test_listlbr.ok index be323d4dc7..9b8037f4d3 100644 --- a/src/nvim/testdir/test_listlbr.ok +++ b/src/nvim/testdir/test_listlbr.ok @@ -25,3 +25,10 @@ Test 4: set linebreak with tab and 1 line as long as screen: should break! +aaaaaaaaaaaaaaaaaa ~ ~ +_S_ bla + +Test 5: set linebreak with conceal and set list and tab displayed by different char (line may not be truncated) +Sabbbbbb bla +~ +~ +~ |