marko-js / atom-language-marko

Syntax highlighting in Atom for the Marko templating language
MIT License
33 stars 6 forks source link

Commenting shortcut #12

Closed mlrawlings closed 3 years ago

mlrawlings commented 7 years ago

Reported by @flyball:

Given a *.marko file:

<script>
    var foo;
</script>

<div></div>

When I highlight, <div></div> and press + /, I get html style comments:

<script>
    var foo;
</script>

<!-- <div></div> -->

But when I highlight, var foo; and press + /, I still get html style comments:

<script>
    <!-- var foo; -->
</script>

<div></div>

I would expect to get JS style comments as I do in *.html files.

DylanPiercey commented 3 years ago

This is now fixed