Sublime Forum

Set color for struct declaration

#1

Hey there,
when I write C Code, I have the issue, that even if structs are coloured in the definition, they are not coloured in the declaration
Code example:

/////
struct someStruct {
int field1;
int field2;
};

struct someStruct myStruct1;
/////

someStruct is coloured fine in definition but not in declaration.
I dug through the scoping documentation and experimented a lot but no scope seemed to have changed the color when declaring.

0 Likes