atom / language-csharp

C# language support for Atom
Other
62 stars 53 forks source link

[bug] Comments not being syntax highlighted properly #62

Closed jamesqo closed 7 years ago

jamesqo commented 8 years ago

This line in the CoreCLR repo seems to not be highlighting properly:

https://github.com/dotnet/coreclr/blob/7b97c58/src/mscorlib/src/System/RtType.cs#L63

Not exactly sure what's causing it, but maybe it has something to do with the angle/square brackets in the comment on the previous line.

damieng commented 8 years ago

It's because the { on that line in the comment is causing it to think this is a new block.

damieng commented 7 years ago

Now fixed in master - should ship with next beta.

image