A line comment that starts with html but is not followed by a temlate literal breaks syntax highlighting for the rest of the file.
Minimal example:
const foo = 'html'; // html is awesome
console.log(foo);
The part before the comment is displayed correctly, but the comment and the next line are default text color and VS code shows JS completion when typing inside the comment.
A line comment that starts with
html
but is not followed by a temlate literal breaks syntax highlighting for the rest of the file.Minimal example:
The part before the comment is displayed correctly, but the comment and the next line are default text color and VS code shows JS completion when typing inside the comment.