Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synax highlighting is wrong under 7.4 #36

Open
bpearson opened this issue Aug 15, 2014 · 3 comments
Open

Synax highlighting is wrong under 7.4 #36

bpearson opened this issue Aug 15, 2014 · 3 comments

Comments

@bpearson
Copy link
Contributor

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

  • Edit: Text was screwing up, so uploaded an image in its place.
@bpearson
Copy link
Contributor Author

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

@moorereason
Copy link

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
Copy link
Contributor Author

Is there a setting to turn it off then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants