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: #15911

Signed-off-by: Milly <milly.ca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Milly
2024-10-22 22:59:39 +02:00
committed by Christian Brabandt
parent 231480f975
commit b38700ac81
6 changed files with 25 additions and 11 deletions

View File

@ -6751,7 +6751,7 @@ after_copy_winopt(win_T *wp)
else
wp->w_skipcol = 0;
#ifdef FEAT_LINEBREAK
briopt_check(wp);
briopt_check(NULL, wp);
#endif
#ifdef FEAT_SYN_HL
fill_culopt_flags(NULL, wp);