summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-07-30 16:44:22 +0200
committerBram Moolenaar <Bram@vim.org>2014-07-30 16:44:22 +0200
commitb81c85d8f35850ee8f377a2672c506131549f53c (patch)
tree662062b5da3017d7056c25a1f8b61ac94faa9fc1 /src/testdir
parent4f5ce33d415a0eeedd7f04baa6715431e72652e1 (diff)
downloadvim-b81c85d8f35850ee8f377a2672c506131549f53c.zip
updated for version 7.4.388
Problem: With 'linebreak' set and 'list' unset a Tab is not counted properly. (Kent Sibilev) Solution: Check the 'list' option. (Christian Brabandt)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test_listlbr_utf8.in11
-rw-r--r--src/testdir/test_listlbr_utf8.ok7
2 files changed, 18 insertions, 0 deletions
diff --git a/src/testdir/test_listlbr_utf8.in b/src/testdir/test_listlbr_utf8.in
index f8888d533..ba12adae0 100644
--- a/src/testdir/test_listlbr_utf8.in
+++ b/src/testdir/test_listlbr_utf8.in
@@ -30,11 +30,22 @@ STARTTEST
:redraw!
:let line=ScreenChar(winwidth(0))
:call DoRecordScreen()
+:"
:let g:test ="Test 2: set nolinebreak list"
:set list nolinebreak
:redraw!
:let line=ScreenChar(winwidth(0))
:call DoRecordScreen()
+:"
+:let g:test ="Test 3: set linebreak nolist"
+:$put =\"\t*mask = nil;\"
+:$
+:norm! zt
+:set nolist linebreak
+:redraw!
+:let line=ScreenChar(winwidth(0))
+:call DoRecordScreen()
+:"
:%w! test.out
:qa!
ENDTEST
diff --git a/src/testdir/test_listlbr_utf8.ok b/src/testdir/test_listlbr_utf8.ok
index 576ccfb40..634cf3906 100644
--- a/src/testdir/test_listlbr_utf8.ok
+++ b/src/testdir/test_listlbr_utf8.ok
@@ -12,3 +12,10 @@ Test 2: set nolinebreak list
+pqrstuvwxyz␣1060ABC
+DEFGHIJKLMNOPˑ¶
+ *mask = nil;
+
+Test 3: set linebreak nolist
+ *mask = nil;
+~
+~
+~