patch 9.1.0803: tests: no error check when setting global 'isk'

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

closes: #15915

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:27:19 +02:00
committed by Christian Brabandt
parent 142cad1f88
commit 5e7a6a4a10
7 changed files with 159 additions and 103 deletions

View File

@ -1456,7 +1456,7 @@ static struct vimoption options[] =
#endif
(char_u *)0L} SCTX_INIT},
{"iskeyword", "isk", P_STRING|P_ALLOCED|P_VIM|P_COMMA|P_NODUP,
(char_u *)&p_isk, PV_ISK, did_set_isopt, NULL,
(char_u *)&p_isk, PV_ISK, did_set_iskeyword, NULL,
{
(char_u *)"@,48-57,_",
#if defined(MSWIN)