So, I just got this to run. I doubt that a pull request on textmate’s repository would be successful because the amount of users needing this is rather low and it’s specific to Camunda. So if you need syntax highlighting in VSC, you have to do the following:
- Locate your VSC folder an go into
resources\app\extensions\html\syntaxes
- Open the file
html.tmLanguage.json
- Search for the expression
jscript
- Just add
| form-script |
after it - Reload VSC and you’re done
The line should look like […] |jscript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t | form-script | livescript\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t |
[…]
The actual file is also available here - so if you don’t to work in the minified version or something has changed, get the file from here: https://github.com/textmate/html.tmbundle/blob/master/Syntaxes/HTML.plist
and just search for Text mime-types
and add it there.
For your convenience, you can get a patched file via pastebin: https://pastebin.com/mGbsXLVR