Posted by John Wellesz on 01/15/06 10:16
Hello,
Here is a new version of my indent script for PHP with some improvements
and some bug fixes :)
Additionally, there is now a newsletter where you can subscribe to be
alerted when a new version is released: (No other kind of message will be
broadcasted)
http://www.2072productions.com/?to=php-indent-for-vim-newsletter.php
Changes in version 1.23:
- PHPDoc comments are now indented according to the surrounding code.
- This is also true for '/* */' multi-line comments when the second line
begins by a '*'.
- Single line '/* */' comments are also indented.
- <script> html tags are now correctly indented the same way their content
is.
- <?.*?> (on a single line) PHP declarations are now always considered as
non-PHP code and let untouched.
You can view its capabilities and download it there:
http://www.vim.org/scripts/script.php?script_id=1120
Or there (colorful version):
http://www.2072productions.com/?to=phpindent.txt
Enjoy :-)
John Wellesz
Navigation:
[Reply to this message]
|