annotate src/testdir/test32.in @ 11537:e0eb2de60f09 v8.0.0651

patch 8.0.0651: build failure without the auto command feature commit https://github.com/vim/vim/commit/157069b04e64eff72d2b34a2f727dfb6e2190cf3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 22 14:56:12 2017 +0200 patch 8.0.0651: build failure without the auto command feature Problem: Build failure without the auto command feature. Solution: Add #ifdef. (closes https://github.com/vim/vim/issues/1782)
author Christian Brabandt <cb@256bit.org>
date Thu, 22 Jun 2017 15:00:04 +0200
parents ae45d497868f
children
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&
11091
ae45d497868f patch 8.0.0433: beeps when running tests
Christian Brabandt <cb@256bit.org>
parents: 5349
diff changeset
26 :set belloff=all
540
2df7f3a5eb96 updated for version 7.0153
vimboss
parents: 7
diff changeset
27 :se cot=
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 nO#include "Xtestfile"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 ru
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 :se cpt=.,w,i
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 kOM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35   
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 :se cpt=kXtestfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 :w Xtest11.one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 :w Xtest11.two
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 OIXA
5349
73cc7272de5e updated for version 7.4.027
Bram Moolenaar <bram@vim.org>
parents: 546
diff changeset
40 :" 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
41 :" 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
42 OXddk
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 :se cpt=w
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 OST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 :se cpt=u nohid
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 oOEN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 unl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 :se cpt=t,d def=^\\k* tags=Xtestfile notagbsearch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 O
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 :wq! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 start of testfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 run1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 run2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 end of testfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 test11 36Gepeto /Tag/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 asd test11file 36G
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 Makefile to run