Sublime Forum

Syntax Highlight failure in D Scripts

#1

When programming in D highlighting fails when struct are created with no bracketing contents for example:

extern©:
struct the_c_struct;

is perfectly acceptable D code but after the struct declaration referencing a struct in a c library highlighting fails for any subsequent code. Using

struct the_c_struct{};

allows highlighting to work but makes the struct opaque. In this case the syntax highlighting could lead to writing incorrect code.

DP

0 Likes

#2

Official issue tracker for core packages can be found here. https://github.com/sublimehq/Packages/issues

0 Likes

#3

thanks will do

0 Likes