On Wed, 15 Nov 2006 22:13:06 +0200 "Yakov Lerner" <[EMAIL PROTECTED]> wrote: [snip] > You need to add keyword range to the function header line like this: > function! Listing2() range
Thanks this works perfectly, > This is documented Might be, but I wasn't able to find this when searching the help system. (I found it now and it is only vaguely described with two lines of text). -- Kim Schulz | Private : http://www.schulz.dk [EMAIL PROTECTED] | Business: http://www.devteam.dk +45 5190 4262 | Sparetime: http://www.fundanemt.com