vim-patch:9.1.0806: tests: no error check when setting global 'briopt'

Problem:  tests: no error check when setting global 'briopt'
Solution: also parse and check global 'briopt' value (Milly)

closes: vim/vim#15911

b38700ac81

Co-authored-by: Milly <milly.ca@gmail.com>
This commit is contained in:
zeertzjq
2024-10-24 06:31:09 +08:00
parent 5436d9b3c6
commit 6b63fe798b
4 changed files with 24 additions and 6 deletions

View File

@@ -5112,7 +5112,7 @@ void didset_window_options(win_T *wp, bool valid_cursor)
wp->w_skipcol = 0;
}
check_colorcolumn(NULL, wp);
briopt_check(wp);
briopt_check(NULL, wp);
fill_culopt_flags(NULL, wp);
set_chars_option(wp, wp->w_p_fcs, kFillchars, true, NULL, 0);
set_chars_option(wp, wp->w_p_lcs, kListchars, true, NULL, 0);