Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime 3 editor syntax highlighting PHP + HTML not working

Basically my issue is when I set the text mode to PHP my HTML is losing it's syntax highlighting whilst using the Material colour theme. It highlights all HTML as white and if i switch to HTML it highlight all PHP as white. This issue started yesterday after upgrading to Sublime build 3103. Anyone know how to fix it?

PHP syntax highlighted

HTML syntax highlighted

Cheers

like image 436
Steve Avatar asked Nov 20 '22 15:11

Steve


1 Answers

There is a thread on Sublime forum about this, it should be fixed in next development version. You could maybe downgrade to a working version until its fixed properly.

https://forum.sublimetext.com/t/php-detection-broken-in-3103/17355

like image 56
Joose Avatar answered Dec 28 '22 08:12

Joose