Mercurial > vim
annotate src/testdir/test_autoformat_join.in @ 10930:126405b39964 v8.0.0354
patch 8.0.0354: test to check that setting termcap key fails sometimes
commit https://github.com/vim/vim/commit/1c410400fad79068b16dc4c6c7a023463a0858cf
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 23 15:20:03 2017 +0100
patch 8.0.0354: test to check that setting termcap key fails sometimes
Problem: Test to check that setting termcap key fails sometimes.
Solution: Check for "t_k1" to exist. (Christian Brabandt, closes https://github.com/vim/vim/issues/1459)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 23 Feb 2017 15:30:05 +0100 |
parents | bc269cf15ccd |
children |
rev | line source |
---|---|
5848 | 1 Tests for setting the '[,'] marks when joining lines. |
2 | |
3 STARTTEST | |
4 :so small.vim | |
5 :/^\t\t/ | |
7003 | 6 0gqj: |
5848 | 7 :let a=string(getpos("'[")).'/'.string(getpos("']")) |
8 :/^This line/;'}-join | |
9 :let b=string(getpos("'[")).'/'.string(getpos("']")) | |
10 :$put ='First test: Start/End '.string(a) | |
11 :$put ='Second test: Start/End '.string(b) | |
12 :/^\t\t/,$wq! test.out | |
13 ENDTEST | |
14 | |
15 | |
16 O sodales, ludite, vos qui | |
17 attamen consulite per voster honur. Tua pulchra facies me fay planszer milies | |
18 | |
19 This line. | |
20 Should be joined with the next line | |
21 and with this line | |
22 | |
23 Results: |