1 /* vi:set ts=8 sts=4 sw=4 noet: 2 * 3 * VIM - Vi IMproved by Bram Moolenaar 4 * 5 * Do ":help uganda" in Vim to read copying and usage conditions. 6 * Do ":help credits" in Vim to see a list of people who contributed. 7 */ 8 9 /* 10 * Define the version number, name, etc. 11 * The patchlevel is in included_patches[], in version.c. 12 */ 13 14 // Trick to turn a number into a string. 15 #define VIM_TOSTR_(a) #a 16 #define VIM_TOSTR(a) VIM_TOSTR_(a) 17 18 // Values that change for a new release. 19 #define VIM_VERSION_MAJOR 8 20 #define VIM_VERSION_MINOR 2 21 #define VIM_VERSION_BUILD 283 22 #define VIM_VERSION_BUILD_BCD 0x11b 23 #define VIM_VERSION_DATE_ONLY "2019 Dec 12" 24 25 // Values based on the above 26 #define VIM_VERSION_MAJOR_STR VIM_TOSTR(VIM_VERSION_MAJOR) 27 #define VIM_VERSION_MINOR_STR VIM_TOSTR(VIM_VERSION_MINOR) 28 #define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR) 29 30 #define VIM_VERSION_BUILD_STR VIM_TOSTR(VIM_VERSION_BUILD) 31 #ifndef VIM_VERSION_PATCHLEVEL 32 # define VIM_VERSION_PATCHLEVEL 0 33 #endif 34 #define VIM_VERSION_PATCHLEVEL_STR VIM_TOSTR(VIM_VERSION_PATCHLEVEL) 35 // Used by MacOS port; should be one of: development, alpha, beta, final 36 #define VIM_VERSION_RELEASE final 37 38 /* 39 * VIM_VERSION_NODOT is used for the runtime directory name. 40 * VIM_VERSION_SHORT is copied into the swap file (max. length is 6 chars). 41 * VIM_VERSION_MEDIUM is used for the startup-screen. 42 * VIM_VERSION_LONG is used for the ":version" command and "Vim -h". 43 */ 44 #define VIM_VERSION_NODOT "vim" VIM_VERSION_MAJOR_STR VIM_VERSION_MINOR_STR 45 #define VIM_VERSION_SHORT VIM_VERSION_MAJOR_STR "." VIM_VERSION_MINOR_STR 46 #define VIM_VERSION_MEDIUM VIM_VERSION_SHORT 47 #define VIM_VERSION_LONG_ONLY "VIM - Vi IMproved " VIM_VERSION_MEDIUM 48 #define VIM_VERSION_LONG_HEAD VIM_VERSION_LONG_ONLY " (" VIM_VERSION_DATE_ONLY 49 #define VIM_VERSION_LONG VIM_VERSION_LONG_HEAD ")" 50 #define VIM_VERSION_LONG_DATE VIM_VERSION_LONG_HEAD ", compiled " 51