Language support for ImHex's pattern language.
Syntax highlighting.
The extension is now availble on vscode's extension marketplace. here.
Some tokens will probably not be picked up by your theme, so you should add them manually in your vscode configuration.
variable.language.dollar.hexpat
for the special$
operator.variable.language.parent.hexpat
for the keywordparent
.
You can inspect all the tokens you need with vscode's Developer: Inspect Editor Tokens and Scopes
.