summaryrefslogtreecommitdiff
path: root/src/testdir/test54.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-12-24 14:35:23 +0000
committerBram Moolenaar <Bram@vim.org>2004-12-24 14:35:23 +0000
commitb5bf5b8fae9ff5e2f7704686efae2814be1e18f7 (patch)
treefcaa6e0f52dfd691d0c4796d34e402d46ce7c293 /src/testdir/test54.in
parent1cd871b5341bf43ee99e136844e3131014880f92 (diff)
downloadvim-git-b5bf5b8fae9ff5e2f7704686efae2814be1e18f7.tar.gz
updated for version 7.0024v7.0024
Diffstat (limited to 'src/testdir/test54.in')
-rw-r--r--src/testdir/test54.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/testdir/test54.in b/src/testdir/test54.in
new file mode 100644
index 000000000..b3fbe7259
--- /dev/null
+++ b/src/testdir/test54.in
@@ -0,0 +1,17 @@
+Some tests for buffer-local autocommands
+
+STARTTEST
+:so small.vim
+:e xx
+:!rm -f test.out
+:au BufLeave <buffer> :!echo "buffer-local autommand in %" >> test.out
+:e somefile " here, autocommand for xx shall write test.out
+: " but autocommand shall not apply to buffer named <buffer>
+:bwipe xx " here, autocommand shall be auto-deleted
+:e xx " nothing shall be written
+:e somefile " nothing shall be written
+:qa!
+ENDTEST
+
+start of test file xx
+end of test file xx