Sublime Forum

"#embedded-code" error in tmlanguage file

#1

I’m trying to get the TM bundle for handlebar templates to work with Sublime Text and I’m getting the following error.

Error loading syntax file “Packages/drnic-Handlebars.tmbundle-3b928a2/Handlebars.tmLanguage”: Unknown include #embedded_code

The line “#embedded-code” is in the tmLanguage file quite a few times and the embedded code would be javascript. Anybody know how to fix this?

0 Likes

#2

#embedded_code looks like a reference to a repository item. In that case, you must make sure that there’s such item in the element.

0 Likes

#3

It’s all over the place in tags but never as a key.
Is that important?

0 Likes

#4

That’s almost for sure why it’s failing for you.

0 Likes

#5

Any idea how to fix it? I’ve never created or even messed with a tmLanguage file or snippet before.

0 Likes