github syntax hilighting

Jonathan M Davis jmdavisProg at gmx.com
Wed Jan 26 11:30:34 PST 2011


On Wednesday, January 26, 2011 11:21:55 Brad Roberts wrote:
> On 1/26/2011 7:13 AM, Steven Schveighoffer wrote:
> > Anyone have any clue why this file is properly syntax-aware:
> > 
> > https://github.com/D-Programming-Language/druntime/blob/master/src/rt/lif
> > etime.d
> > 
> > but this file isn't
> > 
> > https://github.com/D-Programming-Language/druntime/blob/master/src/core/t
> > hread.d
> > 
> > I'm still not familiar at all with git or github...
> > 
> > -Steve
> 
> I'm going to guess it's filesize.  Totally a guess, but consider that
> adding highlighting costs additional markup.  The file that's not
> highlighted is over 100k, the file that is is only(!) 62k.

LOL. It won't even _show_ std.datetime. You may be on to something there.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list