0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0644: 'smoothscroll' is not copied to a new window on :split

Problem:    'smoothscroll' is not copied to a new window on :split.
Solution:   Copy the option value.  Add a test.
This commit is contained in:
Bram Moolenaar
2022-10-03 11:23:02 +01:00
parent b34c4b7863
commit b1fd26d208
3 changed files with 106 additions and 1 deletions

View File

@@ -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