2072 / PHP-Indenting-for-VIm

The official VIm indent script for PHP
http://www.2072productions.com/to/phpindent.txt
128 stars 29 forks source link

Add support for new array literal #9

Closed francoisdevlin closed 11 years ago

francoisdevlin commented 12 years ago

Hi, I was hoping you could add support for the new array literal syntax in php 5.4

Perhaps something like this:

$a = [ \t"b"=>[ \t\t"c"=>1, \t\t"d"=>2, \t], \t"e"=>3, \t"f"=>[ \t\t1, \t\t2, \t\t3, \t], ]

Thanks

2072 commented 11 years ago

Support added in 1.36