Closed gkemmey closed 7 years ago
No new ones.
Supports PHP highlighting by copying the injections (see here). This closely follows a similar solution in the language-markdown package.
injections
Just includingtext.html.php in the patterns section didn't seem to do it. Personally, not 100% clear why.
text.html.php
patterns
Happy to look at better solutions, not personally sure of what they might be.
PHP code gets highlighted.
Copying the injections from the language-php adds maintenance of keeping them in sync.
language-php
None that I saw.
This will be somewhat solved by atom/language-php#292 by only including the internal PHP grammar. Going to close this for now (we can always revisit later) because the referenced PR is almost ready.
Requirements
No new ones.
Description of the Change
Supports PHP highlighting by copying the
injections
(see here). This closely follows a similar solution in the language-markdown package.Alternate Designs
Just including
text.html.php
in thepatterns
section didn't seem to do it. Personally, not 100% clear why.Happy to look at better solutions, not personally sure of what they might be.
Benefits
PHP code gets highlighted.
Possible Drawbacks
Copying the injections from the
language-php
adds maintenance of keeping them in sync.Applicable Issues
None that I saw.