Created
June 5, 2012 19:22
-
-
Save jotson/2877157 to your computer and use it in GitHub Desktop.
Sublime Text theme XML for setting HTML/PHP highlighting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
PHP files are highlighted as text.html.basic source.php.embedded.block.html. | |
The following two entries reverse the highlighting in the Twilight theme | |
so that the HTML blocks are highlighted in PHP and the PHP code is not. | |
--> | |
<dict> | |
<key>name</key> | |
<string>HTML</string> | |
<key>scope</key> | |
<string>text.html.basic</string> | |
<key>settings</key> | |
<dict> | |
<key>background</key> | |
<string>#99ccff22</string> | |
</dict> | |
</dict> | |
<dict> | |
<key>name</key> | |
<string>♦ Embedded Source</string> | |
<key>scope</key> | |
<string>text source.php</string> | |
<key>settings</key> | |
<dict> | |
<key>background</key> | |
<string>#141414</string> | |
</dict> | |
</dict> | |
<!-- | |
PHP highlighting reversal | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment