annotate src/testdir/test32.in @ 7160:accd3a0e9bf4 v7.4.891

commit https://github.com/vim/vim/commit/089af18d1fd0961ff504ee72db0156bbfe509cdf Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 7 11:41:49 2015 +0200 patch 7.4.891 Problem: Indentation of array initializer is wrong. Solution: Avoid that calling find_start_rawstring() changes the position returned by find_start_comment(), add a test. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Wed, 07 Oct 2015 11:45:06 +0200
parents 73cc7272de5e
children ae45d497868f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 Test for insert expansion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 :se cpt=.,w
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 * add-expands (word from next line) from other window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 * add-expands (current buffer first)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 * Local expansion, ends in an empty line (unless it becomes a global expansion)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 * starts Local and switches to global add-expansion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 :se cpt=.,w,i
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 * i-add-expands and switches to local
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 * add-expands lines (it would end in an empty line if it didn't ignored it self)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :se cpt=kXtestfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 * checks k-expansion, and file expansion (use Xtest11 instead of test11,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 * because TEST11.OUT may match first on DOS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 :se cpt=w
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 * checks make_cyclic in other window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 :se cpt=u nohid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 * checks unloaded buffer expansion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 * checks adding mode abortion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :se cpt=t,d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 * tag expansion, define add-expansion interrupted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 * t-expansion
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 :se nocp viminfo+=nviminfo cpt=.,w ff=unix | $-2,$w!Xtestfile | set ff&
540
2df7f3a5eb96 updated for version 7.0153
vimboss
parents: 7
diff changeset
26 :se cot=
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 nO#include "Xtestfile"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 ru
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 :se cpt=.,w,i
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 kOM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34   
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 :se cpt=kXtestfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 :w Xtest11.one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 :w Xtest11.two
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 OIXA
5349
73cc7272de5e updated for version 7.4.027
Bram Moolenaar <bram@vim.org>
parents: 546
diff changeset
39 :" use CTRL-X CTRL-F to complete Xtest11.one, remove it and then use
73cc7272de5e updated for version 7.4.027
Bram Moolenaar <bram@vim.org>
parents: 546
diff changeset
40 :" CTRL-X CTRL-F again to verify this doesn't cause trouble.
73cc7272de5e updated for version 7.4.027
Bram Moolenaar <bram@vim.org>
parents: 546
diff changeset
41 OXddk
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 :se cpt=w
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 OST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 :se cpt=u nohid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 oOEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 unl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 :se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 :wq! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 start of testfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 run1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 run2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 end of testfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 test11 36Gepeto /Tag/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 asd test11file 36G
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 Makefile to run