1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
STARTTEST :" function name includes a colon :try : func! g:test() : echo "test" : endfunc :catch : let @a = v:exception :endtry :" function name folowed by # :try : func! test2() "# : echo "test2" : endfunc :catch : let @b = v:exception :endtry :%d :pu a :pu b :1d :wq! test.out ENDTEST start: