Skip to content

Instantly share code, notes, and snippets.

@jotson
Created June 5, 2012 19:22
Show Gist options
  • Save jotson/2877157 to your computer and use it in GitHub Desktop.
Save jotson/2877157 to your computer and use it in GitHub Desktop.
Sublime Text theme XML for setting HTML/PHP highlighting
<!--
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