From: Junio C Hamano Date: Sun, 04 May 2008 06:45:14 GMT Subject: Re: [PATCH v3 4/6] --color-words: Make non-word characters configurable Message-ID: <7vk5iar2it.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1209874815-14411-5-git-send-email-pkufranky@gmail.com> Ping Yin 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 >= bar"?