StanAngeloff / php.vim

An up-to-date Vim syntax for PHP (7.x supported)
477 stars 69 forks source link

Add filter functions and constants #2

Closed endel closed 10 years ago

endel commented 10 years ago

Available since PHP 5: http://php.net/book.filter

StanAngeloff commented 10 years ago

Hey @endel,

There is a syntax file update_syntax.php which explicitly disables the filter extension as it's not one of the most commonly used ones. Every extensions adds to the PHP syntax file which causes it to become slower and so only a select few have been left.

You can uncomment the relevant line and re-generate the syntax file for your purposes. I haven't come across the filter extension in many projects so I prefer to keep it disabled for the time being.

marlun commented 10 years ago

I also think it's better that we don't add in everything but keep it slim and have instructions on how to add more things.

endel commented 10 years ago

I agree with you guys, thank you.

StanAngeloff commented 10 years ago

@marlun Thanks for chiming in, good to hear what others think as well.