The changes to syntax definitions in ST4 have greatly improved parsing D code. However, ternary statements now mark as though they're a syntax error.
Type this code into a D source file:
void func() {
int a = b ? c : d;
}
Result:

Thanks for submitting a bug report!
The default syntaxes are open source, and we track issues with them at https://github.com/sublimehq/Packages/issues.
If you could, please open an issue there with this content.
I've transferred the issue.
Most helpful comment
I've transferred the issue.