Re: R: matchit doesn't work for php

2006-07-19 Thread Benji Fisher
On Fri, Jul 14, 2006 at 04:16:44AM +0200, Cesar Romani wrote: Thanks a lot, it works but I also notice that else if is not part of the matching, although else if is a valid expression in php: It matches if, else, elseif but it doesn't match if, else, else if How can I include else if in the

R: R: matchit doesn't work for php

2006-07-19 Thread Cesar Romani
-Messaggio originale- Da: Benji Fisher [mailto:[EMAIL PROTECTED] Inviato: mercoledì 19 luglio 2006 15.17 A: vim Oggetto: Re: R: matchit doesn't work for php On Fri, Jul 14, 2006 at 04:16:44AM +0200, Cesar Romani wrote: Thanks a lot, it works but I also notice that else

Re: matchit doesn't work for php

2006-07-13 Thread Pete Johns
On Thu, 2006-07-13 at 06:42:43 +0200, Cesar Romani sent: In the following function the bracket at 3 doesn't match the bracket at 17 And the bracket at 5 doesn't match the bracket at 8 I don't think matchit.vim is to blame here. I have tried your code with VIM - Vi IMproved 7.0 (2006 May 7,

Re: matchit doesn't work for php

2006-07-13 Thread Benji Fisher
On Thu, Jul 13, 2006 at 06:42:43AM +0200, Cesar Romani wrote: In the following function the bracket at 3 doesn't match the bracket at 17 And the bracket at 5 doesn't match the bracket at 8 1 ?php 2 function test1($a,$b,$c,$d,$e,$f) 3 { 4 if($e=='hola') 5 { 6

R: matchit doesn't work for php

2006-07-13 Thread Cesar Romani
-Messaggio originale- Da: Benji Fisher [mailto:[EMAIL PROTECTED] Inviato: giovedì 13 luglio 2006 15.35 A: vim Cc: Dan Sharp Oggetto: Re: matchit doesn't work for php On Thu, Jul 13, 2006 at 06:42:43AM +0200, Cesar Romani wrote: In the following function the bracket at 3

matchit doesn't work for php

2006-07-12 Thread Cesar Romani
In the following function the bracket at 3 doesn't match the bracket at 17 And the bracket at 5 doesn't match the bracket at 8 1 ?php 2 function test1($a,$b,$c,$d,$e,$f) 3 { 4 if($e=='hola') 5 { 6 if($f=='') $f='1000'; 7 $s='{'.$d.':'.$f.'}amigo'; 8 } 9