Expand description
autowrap — whether typing past textwidth breaks the line.
Lives here rather than in lattice-config for the same reason
crate::IndentMethod does: the reflow engine in lattice-grammar
consumes the resolved value, and lattice-config → lattice-grammar
would be the wrong direction. This crate is the shared floor both
sides already stand on.
See docs/dev/architecture/text-reflow.md §8.
Structs§
- Wrap
Width textwidth, resolved for a specific buffer — the column reflow targets and, whenautowrapallows, the column typing breaks at.
Enums§
- Auto
Wrap :set autowrap=.... Whether inserting a character pasttextwidthbreaks the line and carries the remainder down.
Constants§
- DEFAULT_
TEXTWIDTH - The column a buffer wraps at when nobody has resolved config.