#130 new
Joshua Halickman

HTML lang file says it is used for PHP

Reported by Joshua Halickman | December 30th, 2010 @ 09:55 PM

What I did: opened a PHP file with out UTI set to nil.

What I expected to happen: Text to be colored as PHP

What actually happened: Text was colored as HTML.

At the top of html.lang it has
php as an option for @matchext
and <\?(?i:php) as an option for @matchfirstline

This causes the lang to be set to HTML instead of PHP even though there is a PHP lang file.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket