Skip to main content

Module config

Module config 

Source
Expand description

User configuration. Serde defaults supply omitted settings; the starter file shows basic choices.

Structs§

Appearance
AutosaveDelay
A positive autosave debounce in whole milliseconds.
Config
ConfigDiagnostic
EditorConfig
FontSize
A terminal font size in points, limited to 6 through 72.
HexColor
An opaque sRGB color written as #RRGGBB.
LoadedConfig
TerminalColors
Terminal color overrides, supplied inline or through a global config import.
TerminalConfig
TerminalPalette
TerminalPalettes
ThemeConfig
ThemeName
A theme file’s basename, resolved beneath the user config’s themes directory.
TraceConfig

Enums§

ColorScheme
ConfigEditError
ConfigProblem
CursorStyle

Functions§

read_user_file
Opens the user’s actual source, including comments and invalid TOML, creating defaults if absent.
save_user_file
Saves only the user config file, preserving the file editor’s version and conflict semantics.