programs.diff-so-fancy.enable
Whether to enable diff-so-fancy, a diff colorizer.
Type: boolean
Default:
false
Example:
true
Declared by:
programs.diff-so-fancy.enableGitIntegration
Whether to enable git integration for diff-so-fancy.
When enabled, diff-so-fancy will be configured as git’s pager for
diff, log, and show, and as git’s diff
filter for interactive staging.
Type: boolean
Default:
false
Declared by:
programs.diff-so-fancy.pagerOpts
Arguments to be passed to less.
Type: list of string
Default:
[
"--tabs=4"
"-RFX"
]
Declared by:
programs.diff-so-fancy.settings
Options to configure diff-so-fancy. See https://github.com/so-fancy/diff-so-fancy#configuration for available options.
Type: attribute set of (string or boolean or signed integer)
Default:
{ }
Example:
{
changeHunkIndicators = true;
markEmptyLines = true;
rulerWidth = 80;
stripLeadingSymbols = true;
useUnicodeRuler = true;
}
Declared by: