Open enboig opened 1 year ago
Hi @enboig, could you kindly share some more details? Are you working on a .js file or a .twig file with inline js?
The problem happens with a .twig file:
I created a new file to test formatting, and comment is colorized after moving it
<html>
<head>
<script>
functon a() {
{# just a console log #}
console.log("lorem ipsum");
}
</script>
</head>
<body>
</body>
</html>
When commenting code with
{# ... #}
in JS code, it is not highlighted.