diff options
Diffstat (limited to 'src/testdir/test54.in')
-rw-r--r-- | src/testdir/test54.in | 17 |
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 |