Open ahmadawais opened 8 years ago
Is there a scope for this? Does it work on other themes?
The theme shouldn't have to cater to every-single use case, its the syntax highlighter that does this.
@wesbos Yes there is a scope and this is part of the standard documentation practices for WordPress.
The core code is full of it. It is very disturbing with the wrong color. See fo yourself
Here's the scope
Scope: embedding.php
text.html.basic
meta.embedded.block.php
source.php
comment.block.documentation.phpdoc.php
storage.modifier.php
------
Guide me, I can create a pull request.
Any luck?
@wesbos Here's another example
You can test the code at your end. https://gist.github.com/f8c0ca40009294316cbd
I think this is a DocBlock issue that the
Where
private
gets a color other than the comment color?