chroma
chroma copied to clipboard
PHTML lexer takes priority over PHP?
Describe the bug
An empty file.php is being parsed as PHTML instead of a PHP file because PHTML lexer has higher priority (actual 2) over PHP which is 0. To maybe fix it we might set PHP with priority 1 and PHTML with priority 0.1?
To Reproduce
N/A
relates https://github.com/alecthomas/chroma/pull/477
anybody?
hello
I have no real opinion on this, but if you think this is the right thing to do please send a PR.