Re: github syntax hilighting

2011-01-28 Thread Jonathan M Davis
On Friday, January 28, 2011 14:02:34 Don wrote: > Jacob Carlborg wrote: > > On 2011-01-26 20:30, Jonathan M Davis wrote: > >> 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 syn

Re: github syntax hilighting

2011-01-28 Thread Don
Jacob Carlborg wrote: On 2011-01-26 20:30, Jonathan M Davis wrote: 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

Re: github syntax hilighting

2011-01-28 Thread Jacob Carlborg
On 2011-01-27 18:27, Andrej Mitrovic wrote: On 1/27/11, Jacob Carlborg wrote: 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. I haven't thought of that! Actually Vim's syntax highlighting 'algorithm' is customiza

Re: github syntax hilighting

2011-01-27 Thread Jesse Phillips
Jacob Carlborg Wrote: > On 2011-01-26 23:10, Andrej Mitrovic wrote: > > On 1/26/11, Jacob Carlborg 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. > > Inciden

Re: github syntax hilighting

2011-01-27 Thread Andrej Mitrovic
On 1/27/11, Jacob Carlborg wrote: > 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. I haven't thought of that! Actually Vim's syntax highlighting 'algorithm' is customizable. You can set it up to try highlighting t

Re: github syntax hilighting

2011-01-27 Thread Jacob Carlborg
On 2011-01-26 23:10, Andrej Mitrovic wrote: On 1/26/11, Jacob Carlborg 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

Re: github syntax hilighting

2011-01-26 Thread Andrej Mitrovic
On 1/26/11, Jacob Carlborg 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 i

Re: github syntax hilighting

2011-01-26 Thread Jacob Carlborg
On 2011-01-26 20:30, Jonathan M Davis wrote: 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 etim

Re: github syntax hilighting

2011-01-26 Thread Jonathan M Davis
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'

Re: github syntax hilighting

2011-01-26 Thread Brad Roberts
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/lifetime.d > > but this file isn't > > https://github.com/D-Programming-Language/druntime/blob/master/src/cor

Re: github syntax hilighting

2011-01-26 Thread Jonathan M Davis
On Wednesday, January 26, 2011 07:13:38 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/lifet > ime.d > > but this file isn't > > https://github.com/D-Programming-Language/druntim

Re: github syntax hilighting

2011-01-26 Thread Jesse Phillips
Well I found this, but it says the bug was fixed: http://support.github.com/discussions/site/157-syntax-highlighting-not-working-for-one-file Steven Schveighoffer Wrote: > Anyone have any clue why this file is properly syntax-aware: > > https://github.com/D-Programming-Language/druntime/blob/ma

github syntax hilighting

2011-01-26 Thread Steven Schveighoffer
Anyone have any clue why this file is properly syntax-aware: https://github.com/D-Programming-Language/druntime/blob/master/src/rt/lifetime.d but this file isn't https://github.com/D-Programming-Language/druntime/blob/master/src/core/thread.d I'm still not familiar at all with git or github...