[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: php compiler
From:       Doug Kearns <djkea2 () mugca ! its ! monash ! edu ! au>
Date:       2002-06-20 22:59:13
[Download RAW message or body]

On Fri, Jun 21, 2002 at 12:18:06AM +0200, Mikolaj Machowski wrote:
> On Thu, 20 Jun 2002, Mikolaj Machowski wrote:
> 
> I forgot to ask one question:
> 
> setlocal makeprg=php\ \%\ \\\|\ grep\ '</b> on line <b>'
> 
> How can I pass additional arguments to php
> command line doesn't eat:

Use the $* 'placeholder'.
 
> php index.html?subject=links
 
:setlocal makeprg=php\ %$* \\\|\ grep\ '</b> on line <b>'
:make ?subject=links

:help :make_makeprg for more details.

Regards,
Doug
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic