@@ -483,6 +483,9 @@ struct vimoption
483483# define DEFAULT_PYTHON_VER 0
484484#endif
485485
486+ // used for 'cinkeys' and 'indentkeys'
487+ #define INDENTKEYS_DEFAULT (char_u *)"0{,0},0),0],:,0#,!^F,o,O,e"
488+
486489/*
487490 * options[] is initialized here.
488491 * The order of the options MUST be alphabetic for ":set all" and findoption().
@@ -757,7 +760,7 @@ static struct vimoption options[] =
757760 {"cinkeys" , "cink" , P_STRING |P_ALLOCED |P_VI_DEF |P_ONECOMMA |P_NODUP ,
758761#ifdef FEAT_CINDENT
759762 (char_u * )& p_cink , PV_CINK ,
760- {( char_u * ) "0{,0},0),:,0#,!^F,o,O,e" , (char_u * )0L }
763+ {INDENTKEYS_DEFAULT , (char_u * )0L }
761764#else
762765 (char_u * )NULL , PV_NONE ,
763766 {(char_u * )0L , (char_u * )0L }
@@ -1570,7 +1573,7 @@ static struct vimoption options[] =
15701573 {"indentkeys" , "indk" , P_STRING |P_ALLOCED |P_VI_DEF |P_ONECOMMA |P_NODUP ,
15711574#if defined(FEAT_CINDENT ) && defined (FEAT_EVAL )
15721575 (char_u * )& p_indk , PV_INDK ,
1573- {( char_u * ) "0{,0},:,0#,!^F,o,O,e" , (char_u * )0L }
1576+ {INDENTKEYS_DEFAULT , (char_u * )0L }
15741577#else
15751578 (char_u * )NULL , PV_NONE ,
15761579 {(char_u * )0L , (char_u * )0L }
0 commit comments