spf13 / PIV

PHP Integration environment for Vim
250 stars 36 forks source link

Synax highlighting is wrong under 7.4 #36

Open bpearson opened 10 years ago

bpearson commented 10 years ago

I just updated to vim 7.4, and found the syntax highlighting is screwed up. The most obvious is the highlighting throughout a comment, the * are purple, the first line is yellow, the second line is green (expected) and @return and @param are highlighted a different colour to the rest of the line. Previously it was all just the green colour.

screenie

bpearson commented 10 years ago

I should also mention by just using vim by itself (no plugins etc) only the @param/@return are highlighted.

moorereason commented 9 years ago

The different highlighting in the comment is a feature, not a bug. It's attempting to highlight sections of a DocBlock. See https://github.com/phpDocumentor/fig-standards/blob/master/proposed/phpdoc.md

bpearson commented 9 years ago

Is there a setting to turn it off then?