Sublime Forum

How to highlight various PHP elements

#1

Hello,

I’m using Monokai.
I’d love to see PHP start and end tags (as well as short print tag: <?=) coloured differently. They have the same colour as regular text or vars.
Speaking of which, I’d love to have vars coloured differently.

Preferably custom set colours.

Is that possible? I looked inside the Monokai theme and it’s rather complex. I could probably find vars which are easier but <?php tag seems to be missing.
And even so, it’s still rather complicated.

Is there a better way of doing this?
Thanks.

0 Likes