How a scalar preference maps onto a TOML `[section]` + key, plus the inline * comment that documents its allowed values / meaning in the file.
| 31 | /** How a scalar preference maps onto a TOML `[section]` + key, plus the inline |
| 32 | * comment that documents its allowed values / meaning in the file. */ |
| 33 | interface ScalarFieldMap { |
| 34 | section: string |
| 35 | tomlKey: string |
| 36 | /** Inline `# comment` shown after the value — lists allowed values or a hint |
| 37 | * so the file is self-documenting. */ |
| 38 | comment: string |
| 39 | } |
| 40 | |
| 41 | // Order sections are emitted in. Keeps the file stable across rewrites. |
| 42 | const SECTION_ORDER = ['vim', 'search', 'editor', 'appearance', 'typography', 'view'] as const |
nothing calls this directly
no outgoing calls
no test coverage detected