c.tmbundle
c.tmbundle copied to clipboard
[C++] Syntax highligting issue: initialisation lists
struct test {
test(int x, int d, std::string dave) :
_x(x),
_d(d),
_dave(dave)
{
}
int _x;
int _d;
std::string _dave;
};
struct test2 {
test2(int x, int d, std::string dave) :
_x(x)
, _d(d)
, _dave(dave)
{
}
int _x;
int _d;
std::string _dave;
};
I believe that github uses this repository for its syntax highlighter. Looking above, both pieces of code are the same but show different highlighting. test2 is the broken highlighted version