atom / language-csharp

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

Adds support for escaped keywords such as @event #27

Closed jimmason closed 9 years ago

jimmason commented 9 years ago

This pull request sets keywords that have been escaped using @ to the standard source class, mimicking the default behavior of visual studio. The reason its done by setting keywords preceded by @ to meta.class.body.source.cs rather than simply ignoring, is that as far as i am aware this can't be done efficiency in regex without using a lookbehind.

kevinsawicki commented 9 years ago

thanks for this :+1: sorry for the delay