27
28
:let g:test="Test 1: set linebreak"
29
30
:let line=ScreenChar(winwidth(0))
31
33
:let g:test="Test 2: set linebreak + set list"
32
34
:set linebreak list listchars=
34
36
:let line=ScreenChar(winwidth(0))
36
39
:let g:test ="Test 3: set linebreak nolist"
39
42
:let line=ScreenChar(winwidth(0))
41
45
:let g:test ="Test 4: set linebreak with tab and 1 line as long as screen: should break!"
42
46
:set nolist linebreak ts=8
43
47
:let line="1\t".repeat('a', winwidth(0)-2)