On Tue, November 20, 2012 17:46, Ingo Karkat wrote:
> I omit the range attribute on the function and explicitly pass the range
> in:
> #v+
>     function! s:Foo( firstLine, lastLine )
>       ...
>     endfunction
>     command! -range=% Foo call <SID>Foo(<line1>,<line2>)
> #v-

Yes, that was what I meant initially.

regards,
Christian

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui