Why is git blame output not coloured when piped to delta? #1230
-
I am not able to reproduce this behaviour with Am I supposed to do something with the --blame-code-style and related --blame options? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @tg0h, delta uses the filename to infer the language. (E.g. However, the situation might not be hopeless. Delta does have code that finds the command that was used when piping to delta. Do you have any interest in writing Rust and would you like to have a go at making it work? I'm going to turn your question into an Issue. Thanks for documenting it so well. |
Beta Was this translation helpful? Give feedback.
Hi @tg0h, delta uses the filename to infer the language. (E.g.
foo.py
=> Python,bah.rs
=> Rust). But the output ofgit blame
does not contain the filename.However, the situation might not be hopeless. Delta does have code that finds the command that was used when piping to delta. Do you have any interest in writing Rust and would you like to have a go at making it work? I'm going to turn your question into an Issue. Thanks for documenting it so well.