github syntax hilighting

Jesse Phillips jessekphillips+D at gmail.com
Thu Jan 27 09:31:16 PST 2011


Jacob Carlborg Wrote:

> On 2011-01-26 23:10, Andrej Mitrovic wrote:
> > On 1/26/11, Jacob Carlborg<doob at me.com>  wrote:
> >> It takes about 10 seconds to get syntax highlighting at the bottom of
> >> the file in TextMate.
> >
> > Takes half a second in Scite, and in Vim I'm not noticing any delays.
> > Incidentally I think I've seen the longest line count per file in
> > Vim's codebase (close to 100k if my memory serves me right).
> 
> I would guess it takes 10 seconds because it processes the file as a 
> whole. I would guess vim doesn't do that, but I don't know.
> 
> -- 
> /Jacob Carlborg

Yep, Vim's highlighting is set up to sync on comments, though there is more it could do, this does a pretty good job.


More information about the Digitalmars-d-learn mailing list