pivaldi / pi-php-mode

pi-php-mode is a fork of Turadg Aleahmad's php-mode based on the version 1.5.

Home Page:http://git.piprime.fr/?p=emacs/pi-php-mode.git;a=summary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement annotation highlighting

exu opened this issue · comments

Hi Philippe.

Great job with this mode. It would be cool to have annotations highlighting like in symfony2/doctrine2
http://symfony.com/doc/current/book/doctrine.html

yes, but it still has a problem, the line after heredoc is indented wrong , more 4 chars indented than we expected. like this:

$str = <<<"EOT"
{$var1} hello
EOT;

    $str2 = "hello, world";

With your example, I can not reproduce the problem but, yes, in some exceptional cases the indentation is effectively broken on one line.

@pivaldi so can we solve this?