@@ -1802,7 +1802,7 @@ static struct vimoption options[] =
18021802 (char_u * )& p_lpl , PV_NONE ,
18031803 {(char_u * )TRUE, (char_u * )0L } SCRIPTID_INIT },
18041804#if defined(DYNAMIC_LUA )
1805- {"luadll" , NULL , P_STRING |P_VI_DEF |P_SECURE ,
1805+ {"luadll" , NULL , P_STRING |P_EXPAND | P_VI_DEF |P_SECURE ,
18061806 (char_u * )& p_luadll , PV_NONE ,
18071807 {(char_u * )DYNAMIC_LUA_DLL , (char_u * )0L }
18081808 SCRIPTID_INIT },
@@ -2060,7 +2060,7 @@ static struct vimoption options[] =
20602060#endif
20612061 (char_u * )0L } SCRIPTID_INIT },
20622062#if defined(DYNAMIC_PERL )
2063- {"perldll" , NULL , P_STRING |P_VI_DEF |P_SECURE ,
2063+ {"perldll" , NULL , P_STRING |P_EXPAND | P_VI_DEF |P_SECURE ,
20642064 (char_u * )& p_perldll , PV_NONE ,
20652065 {(char_u * )DYNAMIC_PERL_DLL , (char_u * )0L }
20662066 SCRIPTID_INIT },
@@ -2171,13 +2171,13 @@ static struct vimoption options[] =
21712171#endif
21722172 {(char_u * )0L , (char_u * )0L } SCRIPTID_INIT },
21732173#if defined(DYNAMIC_PYTHON3 )
2174- {"pythonthreedll" , NULL , P_STRING |P_VI_DEF |P_SECURE ,
2174+ {"pythonthreedll" , NULL , P_STRING |P_EXPAND | P_VI_DEF |P_SECURE ,
21752175 (char_u * )& p_py3dll , PV_NONE ,
21762176 {(char_u * )DYNAMIC_PYTHON3_DLL , (char_u * )0L }
21772177 SCRIPTID_INIT },
21782178#endif
21792179#if defined(DYNAMIC_PYTHON )
2180- {"pythondll" , NULL , P_STRING |P_VI_DEF |P_SECURE ,
2180+ {"pythondll" , NULL , P_STRING |P_EXPAND | P_VI_DEF |P_SECURE ,
21812181 (char_u * )& p_pydll , PV_NONE ,
21822182 {(char_u * )DYNAMIC_PYTHON_DLL , (char_u * )0L }
21832183 SCRIPTID_INIT },
@@ -2256,7 +2256,7 @@ static struct vimoption options[] =
22562256#endif
22572257 SCRIPTID_INIT },
22582258#if defined(DYNAMIC_RUBY )
2259- {"rubydll" , NULL , P_STRING |P_VI_DEF |P_SECURE ,
2259+ {"rubydll" , NULL , P_STRING |P_EXPAND | P_VI_DEF |P_SECURE ,
22602260 (char_u * )& p_rubydll , PV_NONE ,
22612261 {(char_u * )DYNAMIC_RUBY_DLL , (char_u * )0L }
22622262 SCRIPTID_INIT },
@@ -2640,7 +2640,7 @@ static struct vimoption options[] =
26402640 (char_u * )& p_tgst , PV_NONE ,
26412641 {(char_u * )TRUE, (char_u * )0L } SCRIPTID_INIT },
26422642#if defined(DYNAMIC_TCL )
2643- {"tcldll" , NULL , P_STRING |P_VI_DEF |P_SECURE ,
2643+ {"tcldll" , NULL , P_STRING |P_EXPAND | P_VI_DEF |P_SECURE ,
26442644 (char_u * )& p_tcldll , PV_NONE ,
26452645 {(char_u * )DYNAMIC_TCL_DLL , (char_u * )0L }
26462646 SCRIPTID_INIT },
@@ -7036,6 +7036,8 @@ did_set_string_option(
70367036 {
70377037 if (check_opt_strings (p_cot , p_cot_values , TRUE) != OK )
70387038 errmsg = e_invarg ;
7039+ else
7040+ completeopt_was_set ();
70397041 }
70407042#endif /* FEAT_INS_EXPAND */
70417043
0 commit comments