'Make VSCode syntax highlighting accept Google Apps Script Scriptlets

I'm using VS Code in combination with clasp to develop in Google Apps Script.

Using scriptlets inside a <script> or <style> tag is messing with VS Codes syntax highlighting:

editor snippet

Also I regularly get html-language-server errors.

Is there a way around that?

A setting maybe to teach VS Code that it is fine what I do?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source