Documentation
¶
Overview ¶
Package inline renders AST-aware inline diffs.
Package inline renders AST-aware inline diffs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RenderOptions ¶
type RenderOptions struct {
// Color toggles ANSI color codes in the output.
Color bool
// ContextLines sets how many surrounding unchanged lines to show (defaults to 3).
ContextLines int
// LineNumbers prints line numbers in a side-by-side gutter.
LineNumbers bool
// DisableAnnotations suppresses AST move and token move ghost text annotations.
DisableAnnotations bool
}
RenderOptions tunes how the inline diff is rendered.
Click to show internal directories.
Click to hide internal directories.