Closed abitgone closed 9 years ago
Can you link to an example of this issue happening on GitHub?
<%-- Sure, here you go --%>
I'd expect this to look the same as:
// This
/* or this */
Or even
<!-- This -->
Yes. Could you link to a file where you see this issue too please?
I don't have any public repositories where this is the case. Give me a few minutes while I spin up a small repo that has a single .aspx file in it.
The highlighting of this file seems better if you use text.html.asp
instead of source.asp
as we currently do:
It doesn't solve the bug with server-side comments but maybe we should start by changing that and open an issue at https://github.com/textmate/asp.tmbundle/...?
@abitgone - what are your thoughts on @pchaigno's last comment. This is an issue with the highlighting grammar https://github.com/textmate/asp.tmbundle/ - could you open an issue here to report the bug?
@arfon: Couldn't agree more. I've submitted a pull request with a patch for the .tmbundle – you can see that my version highlights the server-side comments correctly now.
Thanks for your help.
@arfon I've accepted the pull request from @abitgone, ready to be pulled upstream.
@arfon I've accepted the pull request from @abitgone, ready to be pulled upstream.
Great! We should be updating the Linguist gem tomorrow.
ASP.NET web forms – .aspx files, etc – can use server-side comments that are similar in syntax to HTML comments:
Linguist doesn't appear to be picking these up correctly.