3
Tests for correct display (cursor column position) with +conceal and
15
:syntax match test /|/ conceal
16
:" Save current cursor position. Only works in <expr> mode, can't be used
17
:" with :normal because it moves the cursor to the command line. Thanks to ZyX
18
:" <zyx.vim@gmail.com> for the idea to use an <expr> mapping.
20
:nnoremap <expr> GG ":let positions += ['".screenrow().":".screencol()."']\n"
25
:" We should end up in the same column when running these commands on the two
39
:" Same for next test block.
52
:" And check W with multiple tabs and conceals in a line.
74
:set list listchars=tab:>-
86
:call append('$', 'end:')
87
:call append('$', positions)