Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make use of Tree-sitter grammar injection #585

merged 5 commits into from Jul 16, 2018


None yet
1 participant
Copy link

maxbrunsfeld commented Jul 6, 2018

This PR uses Atom's new system for handling injected languages with Tree-sitter. It allows syntax highlighting for:

  • JavaScript inside of script tags in HTML files
  • HTML inside of certain template strings in JavaScript files
  • EJS templates

maxbrunsfeld and others added some commits Jul 6, 2018

Add styling to entire template substitutions
Co-Authored-By: Ashi Krishnan <>
Allow JavaScript to be injected when using Tree-sitter
Co-Authored-By: Ashi Krishnan <>
Allow other languages to be injected into JS when using Tree-sitter
Co-Authored-By: Ashi Krishnan <>
Check for the existence of the addInjectionPoint method
Co-Authored-By: Ashi Krishnan <>

@maxbrunsfeld maxbrunsfeld merged commit 41adc9f into master Jul 16, 2018

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed

@maxbrunsfeld maxbrunsfeld deleted the mb-ak-injections branch Jul 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.