annotate src/testdir/test54.in @ 723:587ea89ab80c

updated for version 7.0220
author vimboss
date Fri, 10 Mar 2006 21:37:46 +0000
parents 8c25f10d49e7
children 71eaeb69efe4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
1 Some tests for buffer-local autocommands
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
2
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
3 STARTTEST
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
4 :so small.vim
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
5 :e xx
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
6 :!rm -f test.out
51
8c25f10d49e7 updated for version 7.0028
vimboss
parents: 40
diff changeset
7 :au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
8 :e somefile " here, autocommand for xx shall write test.out
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
9 : " but autocommand shall not apply to buffer named <buffer>
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
10 :bwipe xx " here, autocommand shall be auto-deleted
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
11 :e xx " nothing shall be written
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
12 :e somefile " nothing shall be written
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
13 :qa!
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
14 ENDTEST
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
15
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
16 start of test file xx
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
17 end of test file xx