StanAngeloff / php.vim

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

Fix highlighting of periods in phpDocComment #40

Closed synthetiv closed 9 years ago

synthetiv commented 9 years ago

Hi there - I've been using this script for a while, but somehow only recently noticed that if I had a period anywhere in a DocBlock comment, it would be highlighted differently from the rest of the comment. I tracked this down to a misspelling of the name of the phpCommentTitle highlight group.

before:

docblock_before

after:

docblock_after

phpCommentTitle is linked to phpComment by default, but I don't think this will change anything substantial for users who might have phpCommentTitle highlighted differently.

StanAngeloff commented 9 years ago

This is great! Thanks for tracking it down to the misspelt group. :mortar_board:

synthetiv commented 9 years ago

No problem, thank you!