Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ViewMode ViewModeType
ShowWhitespace bool
ShowLineNumbers bool
TabWidth int
WordLevelDiff bool
}
func DefaultConfig ¶
func DefaultConfig() Config
func LoadConfig ¶
func LoadConfig() Config
func (Config) ToRenderOptions ¶
func (c Config) ToRenderOptions() RenderOptions
type RenderOptions ¶
type ViewModeType ¶
type ViewModeType string
const ( ViewModeUnified ViewModeType = "unified" ViewModeSideBySide ViewModeType = "side-by-side" )
Click to show internal directories.
Click to hide internal directories.