Skip to content

Commit

Permalink
increase php priority over phtml
Browse files Browse the repository at this point in the history
currently phtml takes priority over php, that's odd considering phtml is not very common anymore compared to php
gempir authored and alecthomas committed Feb 12, 2023
1 parent a40c95e commit 1d0ed7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lexers/embedded/php.xml
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
<case_insensitive>true</case_insensitive>
<dot_all>true</dot_all>
<ensure_nl>true</ensure_nl>
<priority>3</priority>
</config>
<rules>
<state name="magicfuncs">
@@ -208,4 +209,4 @@
</rule>
</state>
</rules>
</lexer>
</lexer>

0 comments on commit 1d0ed7f

Please sign in to comment.