Fast-syntax-highlighting has a new “chroma” architecture where per-command highlighting is possible. All that is needed is a dedicated chroma function. The video demonstrates current features of git chroma, of git’s `checkout’ subcommand.
Other features: videoHomepage