Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Fix highlighting of periods in phpDocComment#40

Merged
StanAngeloff merged 1 commit intoStanAngeloff:masterfrom
synthetiv:master
Jul 23, 2015
Merged

Fix highlighting of periods in phpDocComment#40
StanAngeloff merged 1 commit intoStanAngeloff:masterfrom
synthetiv:master

Conversation

@synthetiv
Copy link

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.

`phpCommentTitle` was misspelled in a matchgrp as `phpCommmentTitle`;
this caused the first period in any phpDocComment to be highlighted
as Normal instead of phpCommentTitle
StanAngeloff added a commit that referenced this pull request Jul 23, 2015
Fix highlighting of periods in phpDocComment.
@StanAngeloff StanAngeloff merged commit f48f074 into StanAngeloff:master Jul 23, 2015
@StanAngeloff
Copy link
Owner

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

@synthetiv
Copy link
Author

No problem, thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants