Fix the behavior of change-preview-window action (#3280)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* change-preview-window restores the initial preview window options, and overrides the properties that are specified * However, 'hidden' property is treated differently. It is set to 'false' if the specified properties of the action is non-empty. * cf. toggle-preview takes the "current" preview window options and toggles the 'hidden' property.
authored by Junegunn Choi · committed by Junegunn Choi · parent e619b7c · Browse files · 3 files+45 added−9 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+45 added−9 removed
- tests:+33 added−0 removed
- other:+12 added−9 removed