Exact, adaptive Git highlighting in F-Sy-H

by zdharma
macOS ◆ xterm-256color ◆ bash 4439 views

The new Fast-Syntax-Highlighting Git chroma-function does exact highlighting, e.g. it changes the expected command syntax on the fly, depending on the options that are given. Plus as a bonus a demonstration of automatic theme switching by the Patreon-only theme switching plugin psprint/fsh-auto-themes – the theme changes after issuing the cd command, i.e. after joining home directory, where a file .fsh-theme defines a new theme that’s automatically loaded by the fsh-auto-themes plugin.

Check out the Fast-Syntax-Highlighting project: https://github.com/zdharma/fast-syntax-highlighting