-
Notifications
You must be signed in to change notification settings - Fork 648
Closed
Labels
Description
I really love this package but I've noticed that the fenced-json syntax always embeds the json.terraform syntax that then resolves to invalid.illegal.expected-mapping-key.json for terraform attribute key/value pairs.
The following change in syntaxes/Markdown.sublime-syntax:2737 seems to fix it but I'm unsure whether this is correct in how syntax embedding is supposed to work (I've not really messed with the .sublime-syntax files before)
# syntaxes/Markdown.sublime-syntax:2737
- source.json.terraform
+ source.terraformbefore the fix the scope looks like:

With the patch applied the scope becomes (and the error syntax highlighting goes away)
