Preserve wrap state across change-preview-window
Before adoption: this commit came in with the history the project adopted, so no landing records it.
toggle-preview-wrap (and -wrap-word) modifies t.activePreviewOpts.wrap, but change-preview-window resets t.previewOpts to t.initialPreviewOpts, discarding the user's toggle. Carry wrap and wrapWord over so toggles survive a layout change. Explicit wrap / nowrap tokens in the new spec still win, so cycling and the empty-token reset are unaffected. Close #4791
authored by Junegunn Choi · committed by Junegunn Choi · parent 6fefe02 · Browse files · 3 files+53 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+53 added−0 removed
- tests:+43 added−0 removed
- other:+10 added−0 removed