amehat / atom-language-d

plugins and themes for Atom
Other
16 stars 6 forks source link

keywords inside comments are wrongly recognized #13

Closed krox closed 8 years ago

krox commented 8 years ago

some keywords (at least const, immutable, shared, body, in, out. maybe more) are highlighted even when inside comments. Most of the time this just means comments are more colorful than they should. A more severe example is the following code where all highlighting is turned off after the function foo for the remainder of the file.

void foo() // out
{
    int x = 5;
}

void bar()
{
    int x = 7;
}
jameslzhu commented 8 years ago

Fixed in the latest version (3.3.0).