diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-03 11:23:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-03 11:23:02 +0100 |
commit | b1fd26d208aadc96d3e8b9215f761150f40a9f91 (patch) | |
tree | 43a2761343778c192dfb8e9d132328a45ff86677 /src/option.c | |
parent | b34c4b7863af8718ad726173585dd38a7c292f0f (diff) |
patch 9.0.0644: 'smoothscroll' is not copied to a new window on :splitv9.0.0644
Problem: 'smoothscroll' is not copied to a new window on :split.
Solution: Copy the option value. Add a test.
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c index 6408e243c4..646265d3bd 100644 --- a/src/option.c +++ b/src/option.c @@ -5679,6 +5679,7 @@ copy_winopt(winopt_T *from, winopt_T *to) to->wo_wcr = copy_option_val(from->wo_wcr); to->wo_scb = from->wo_scb; to->wo_scb_save = from->wo_scb_save; + to->wo_sms = from->wo_sms; to->wo_crb = from->wo_crb; to->wo_crb_save = from->wo_crb_save; #ifdef FEAT_SPELL |