On Sun, May 4, 2008 at 2:45 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > Ping Yin <pkufranky@xxxxxxxxx> writes: > > > A more sensible implementation is to use 'insert' instead of 'replace'. > > Say, to insert a line break between runs of word characters and non-word > > characters or between non-word characters. > > > > That is, "foo>=bar" will be rewritten as "foo\n>\n=\nbar" instead of > > "foo\n\nbar". > > Hmmmm. > > I am not sure if/why you would want a separator between '>' and '=' in > that example. Shouldn't that be "foo <sep> >= <sep> bar"? That's intentional. If i change >= to >, i want it to be highlighted as <r>=</r> instead of <r> >= </r> <g> > </g> (spaced added for readability). So i tend to consider each non-word character as a single word. -- Ping Yin -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html