Sublime Forum

PHP Comments colors are weird in my theme/color scheme

#1

I use Dreamweaver theme and the starting characters of comments (slash and asterisk), both one line and multiple lines get a different color than the comment:

I don’t see anything special in the theme that seems to be wrong, and I don’t know where to look to fix this. Can anyone point me in the right direction?

Thanks!

Here’s a snippet from my .tmTheme file.
<dict> <key>name</key> <string>comment general</string> <key>scope</key> <string>comment</string> <key>settings</key> <dict> <key>fontStyle</key> <string></string> <key>foreground</key> <string>#FF9700</string> </dict> </dict>

0 Likes

#2

Probably you should log an issue at https://github.com/Siddley/Enhanced.HTML.CFML/issues because this package seems to provide the Dreamweaver color scheme and some non-standard syntax definitions.

0 Likes

#3

Aha thanks, but isn’t there some file that I can edit to change the syntax definitions? Not sure if I’d understand it, but I could take a look.

0 Likes

#4

Look for files ending in .sublime-syntax or .tmLanguage

0 Likes