comparison src/option.c @ 11666:5cd9ba96561d v8.0.0716

patch 8.0.0716: not easy to start Vim cleanly commit https://github.com/vim/vim/commit/c4da113ef98dcfd6f2a088b1693c0317dcb5bf42 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 15 19:39:43 2017 +0200 patch 8.0.0716: not easy to start Vim cleanly Problem: Not easy to start Vim cleanly without changing the viminfo file. Not possible to know whether the -i command line flag was used. Solution: Add the --clean command line argument. Add the 'viminfofile' option. Add "-u DEFAULTS".
author Christian Brabandt <cb@256bit.org>
date Sat, 15 Jul 2017 19:45:03 +0200
parents 6ab627207f4c
children 7e8a467acd6e
comparison
equal deleted inserted replaced
11665:d7fe6dc88ea4 11666:5cd9ba96561d
2979 (char_u *)"'100,<50,s10,h,rdf0:,rdf1:,rdf2:"} 2979 (char_u *)"'100,<50,s10,h,rdf0:,rdf1:,rdf2:"}
2980 # else 2980 # else
2981 {(char_u *)"", (char_u *)"'100,<50,s10,h"} 2981 {(char_u *)"", (char_u *)"'100,<50,s10,h"}
2982 # endif 2982 # endif
2983 #endif 2983 #endif
2984 #else
2985 (char_u *)NULL, PV_NONE,
2986 {(char_u *)0L, (char_u *)0L}
2987 #endif
2988 SCRIPTID_INIT},
2989 {"viminfofile", "vif", P_STRING|P_ONECOMMA|P_NODUP|P_SECURE|P_VI_DEF,
2990 #ifdef FEAT_VIMINFO
2991 (char_u *)&p_viminfofile, PV_NONE,
2992 {(char_u *)"", (char_u *)0L}
2984 #else 2993 #else
2985 (char_u *)NULL, PV_NONE, 2994 (char_u *)NULL, PV_NONE,
2986 {(char_u *)0L, (char_u *)0L} 2995 {(char_u *)0L, (char_u *)0L}
2987 #endif 2996 #endif
2988 SCRIPTID_INIT}, 2997 SCRIPTID_INIT},