Re: A new vim indent script for php
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: A new vim indent script for php

From: John Wellesz <john.wellesz-N0-SPAM-OR-BCURSED@teaser.fr>
Date: Thu Jul 07 2005 - 01:34:48 CEST

Version 1.17 has been released!
 
What's new:
 
- Now starting and ending '*' of multiline '/* */' comments are aligned on
  the '*' of the '/*' comment starter.
- Some code improvements that make indentation faster.
- Now following parts of split lines are indented:
    Instead of:
        $foo=
        "foo"
        ."foo";

    You have:
        $foo=
            "foo"
           ."foo";

- If a "case : break;" was declared on a single line, the following "case"
  was not indented correctly.
- If a </script> html tag was preceded by a "?>" it wasn't indented.
- Some other minor corrections and improvements.

 Download:
   
 http://www.vim.org/scripts/download_script.php?src_id=4411
   
 Or (If the other link doesn't work):
  
 http://www.2072productions.com/vim/indent/php.vim
 
 
 Contact me if you have any problem with this version.
Received on Mon Oct 17 21:03:19 2005