I am using babel-plugin-transform-react-pug
babel-sublime package doesn't recognize the pug syntax,
so i installed pug package and define the following syntax:
# See http://www.sublimetext.com/docs/3/syntax.html
name: JS with Pug
- match: ""
- match: "pug`"
- meta_content_scope: text.pug.embedded.js
- include: 'scope:text.pug'
- match: "`"
it managed to highlight the pug part of my code:
but failed to end the pug and resume to js: