On 11/15/06, Kim Schulz <[EMAIL PROTECTED]> wrote:
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() rangeThanks 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).
:he function-range-example Yakov