atom / language-csharp

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

Add `dynamic` as a C# 4 keyword #59

Closed jamesqo closed 8 years ago

jamesqo commented 8 years ago

C# 4 added the keyword dynamic, which is a new type in addition to the other built-in ones like string, object, etc. This code should syntax highlight:

object thing = new object();
dynamic bar = thing;

For more info, see this link about the keyword on MSDN.

cc @50Wliu

winstliu commented 8 years ago

Thanks!

jamesqo commented 8 years ago

@50Wliu You're welcome! :smile: You should probably wait up before making a new release, I just found 2 other keywords that weren't in the grammar.

winstliu commented 8 years ago

Luckily apm publish patch timed out, so no new release was created :P.