Re: [PATCH] Make boundary characters for --color-words configurable
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- May 2, 2008, 14:36 UTC
- Message-ID
- <20080502143650.GB3079@mithlond.arda.local>
- In-Reply-To
- <1209736766-8029-1-git-send-email-pkufranky@gmail.com>
Ping Yin wrote (2008-05-02 21:59 +0800):
> Previously --color-words only allow spaces as boundary characters. > However, just space is not enough. For example, when i rename > a function from foo to bar, following example doesn't show as expected > when using --color-words.
> Two changes: > > * Rename diff.wordsboundary to diff.nonwordchars > * Add documentation
I think config variables should be in alphabetical order in config.txt. Hence your diff.nonwordchars is not in the right place. Other than that this patch seems to work and is really useful to me. Thanks.