cli search: config option to use a different git-diff tool
Created by: mikelnrd
Hi. Loving using src
from the cli so far. One small improvement I'd love to see...
Is it possible for you to provide a way to customise which git diff syntax highlighter the src
cli uses? Perhaps via a config setting? (Not sure if this is possible... I guess it depends how much the code depends on colordiff specifics)
I set up the cli and have colordiff
working correctly. However I'd love to have src
use delta
for git diff highlighting.
I tried piping the output of src search ... type:diff
to delta
but that doesn't work of course as the format is a mix of git-diff and highlighted search results.