annotate src/testdir/test54.in @ 6584:d129b939a190 v7.4.618

updated for version 7.4.618 Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi) Solution: Put the return statement back.
author Bram Moolenaar <bram@vim.org>
date Tue, 03 Feb 2015 23:10:46 +0100
parents 71eaeb69efe4
children
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
1709
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
6 :if has("vms")
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
7 : !del test.out.*
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
8 : au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.out
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
9 :else
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
10 : !rm -f test.out
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
11 : au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
12 :endif
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
13 :e somefile " here, autocommand for xx shall write test.out
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
14 : " but autocommand shall not apply to buffer named <buffer>
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
15 :bwipe xx " here, autocommand shall be auto-deleted
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
16 :e xx " nothing shall be written
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
17 :e somefile " nothing shall be written
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
18 :qa!
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
19 ENDTEST
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
20
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
21 start of test file xx
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
22 end of test file xx