Expand description
Configuration (0005-lite): real TOML from day one, embedded defaults, never bricks (0005 §2). The full layering/hot-reload/settings-popup arrives with 0005 proper; this is the editor-facing config object.
$XDG_CONFIG_HOME/strop/config.toml (or ~/.config/strop/config.toml):
tab_size = 4
indent_style = "spaces" # or "tabs"
indent_detect = true # infer a document's indent from its content
auto_format = true # LSP format before :w (helix parity)LSP server config is a separate file with its own layering —
languages.toml, helix-shaped, owned by strop-lsp (0012): project
.strop/languages.toml > XDG > the embedded registry.
Structs§
- Config
- Knob
- Knob metadata (0005 §6): the settings popup renders from this table; descriptions live here, never in popup code.
Enums§
- Indent
Style indent_stylein config.toml.
Constants§
- KNOBS
- TAB_
SIZE_ MAX - TAB_
SIZE_ MIN - Supported indent-width range (0051 R08): manual
:tab-sizeoverrides AND thetab_sizeconfig value. Zero would make Tab a no-op with a hangover of stale guides; huge values are allocation and layout hazards — both are refused visibly, never clamped silently.