ysgard / d-struct

Atom syntax highlighting and snippets for the D programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"if" statement; Function call; Color Issues

MggMuggins opened this issue · comments

This one is fairly self-explanatory:
screenshot_20170814_173814
screenshot_20170814_173844
I assume they are both supposed to look like the second one.

Import statements are also weird. They only get highlighted purple under certain conditions:
import
^Not Purple^
import ;
^Still not purple^
import w;
^Now that IS purple^

Is there any reason why "import" isn't done as any other keyword?

The "module" keyword works the same way as the import keyword.