wesbos / cobalt2

Tweaked and refined Sublime Text theme based on the original cobalt.
1.56k stars 156 forks source link

DocBlock Issue #98

Open ahmadawais opened 8 years ago

ahmadawais commented 8 years ago

I think this is a DocBlock issue that the

@access private

Where private gets a color other than the comment color?

wesbos commented 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.

ahmadawais commented 8 years ago

@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.

ahmadawais commented 8 years ago

Any luck?

ahmadawais commented 8 years ago

@wesbos Here's another example

You can test the code at your end. https://gist.github.com/f8c0ca40009294316cbd