diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-05-18 22:24:46 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-05-18 22:24:46 +0000 |
commit | 34cdc3e32917a3812a8ec4369c64ef3e35243cfd (patch) | |
tree | a192d6da2ccb602a9b265519be64d4c170e2d8e3 /src/testdir/test56.in | |
parent | a7fc0101b2c5feb7fc70eb79e5b02c61c7de545f (diff) | |
download | vim-34cdc3e32917a3812a8ec4369c64ef3e35243cfd.zip |
updated for version 7.0072
Diffstat (limited to 'src/testdir/test56.in')
-rw-r--r-- | src/testdir/test56.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/testdir/test56.in b/src/testdir/test56.in new file mode 100644 index 000000000..f657f92cd --- /dev/null +++ b/src/testdir/test56.in @@ -0,0 +1,21 @@ +Test for script-local function. vim: set ft=vim : + +STARTTEST +:so small.vim +:" +:set nocp +:/^start:/+1,/^end:/-1w! Xtest.vim +:source Xtest.vim +_x +:$-1,$wq! test.out +ENDTEST + +start: +fun <SID>DoLast() + call append(line('$'), "last line") +endfun +fun s:DoNothing() + call append(line('$'), "nothing line") +endfun +nnoremap <buffer> _x :call <SID>DoNothing()<bar>call <SID>DoLast()<cr> +end: |