diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-12 07:49:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-12 07:49:09 +0800 |
commit | f6485e9446ed6a59accc86724d05981d5ff8f976 (patch) | |
tree | f9724c7ccc1fbd7eccd070186933e1f58364b168 /src/nvim/option.c | |
parent | 906182065bd73e4fbedeecc347ea8c8647c3304f (diff) | |
parent | 4ca522fd0290a2c5767d28c896fefb6d54f9c5d1 (diff) | |
download | rneovim-f6485e9446ed6a59accc86724d05981d5ff8f976.tar.gz rneovim-f6485e9446ed6a59accc86724d05981d5ff8f976.tar.bz2 rneovim-f6485e9446ed6a59accc86724d05981d5ff8f976.zip |
Merge pull request #16841 from zeertzjq/vim-8.1.2073
vim-patch:8.1.2073: when editing a buffer 'colorcolumn' may not work
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index b9fed8b378..dddf926b9a 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -1984,10 +1984,9 @@ static void didset_options(void) (void)did_set_spell_option(true); // set cedit_key (void)check_cedit(); - briopt_check(curwin); // initialize the table for 'breakat'. fill_breakat_flags(); - fill_culopt_flags(NULL, curwin); + didset_window_options(curwin); } // More side effects of setting options. @@ -6174,6 +6173,7 @@ void win_copy_options(win_T *wp_from, win_T *wp_to) { copy_winopt(&wp_from->w_onebuf_opt, &wp_to->w_onebuf_opt); copy_winopt(&wp_from->w_allbuf_opt, &wp_to->w_allbuf_opt); + didset_window_options(wp_to); } /// Copy the options from one winopt_T to another. |