diff src/optionstr.c @ 28839:b93668df9160 v8.2.4943

patch 8.2.4943: changing 'switchbuf' may have no effect Commit: https://github.com/vim/vim/commit/39c46b43780ad00ea27a93d92aadd44753d4c3ea Author: Sean Dewar <seandewar@users.noreply.github.com> Date: Thu May 12 17:44:29 2022 +0100 patch 8.2.4943: changing 'switchbuf' may have no effect Problem: Changing 'switchbuf' may have no effect. Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar, closes #10406)
author Bram Moolenaar <Bram@vim.org>
date Thu, 12 May 2022 18:45:02 +0200
parents 52ef65c0637f
children 6cdf55afaae9
line wrap: on
line diff
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -125,6 +125,7 @@ didset_string_options(void)
 #if defined(FEAT_TOOLBAR) && defined(FEAT_GUI_GTK)
     (void)opt_strings_flags(p_tbis, p_tbis_values, &tbis_flags, FALSE);
 #endif
+    (void)opt_strings_flags(p_swb, p_swb_values, &swb_flags, TRUE);
 }
 
 #if defined(FEAT_EVAL)