view src/testdir/test_autoformat_join.in @ 9263:25a3eae753aa

Added tag v7.4.1914 for changeset c9f2b70feac00908aba100d6282f4615d6b7a00d
author Christian Brabandt <cb@256bit.org>
date Fri, 10 Jun 2016 20:00:08 +0200
parents bc269cf15ccd
children
line wrap: on
line source

Tests for setting the '[,'] marks when joining lines.

STARTTEST
:so small.vim
:/^\t\t/
0gqj:
:let a=string(getpos("'[")).'/'.string(getpos("']"))
:/^This line/;'}-join
:let b=string(getpos("'[")).'/'.string(getpos("']"))
:$put ='First test: Start/End '.string(a)
:$put ='Second test: Start/End '.string(b)
:/^\t\t/,$wq! test.out
ENDTEST


		O sodales, ludite, vos qui
attamen consulite per voster honur. Tua pulchra facies me fay planszer milies

This line.
Should be joined with the next line
and with this line

Results: