version: update user-facing version indicators

- VIM_VERSION_LONG and VIM_VERSION_LONG_DATE do not affect plugins,
  they are only cosmetic.
- Vim-related version identifiers will be preserved for plugin
  compatibility (has("patchXXX") and v:version).
This commit is contained in:
Justin M. Keyes
2014-10-04 17:50:31 +00:00
parent 644da5a43e
commit 08c99dcff0
4 changed files with 18 additions and 84 deletions

View File

@@ -1,19 +1,12 @@
#ifndef NVIM_VERSION_DEFS_H
#define NVIM_VERSION_DEFS_H
/*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
*/
// VIM - Vi IMproved by Bram Moolenaar
//
// Do ":help uganda" in Vim to read copying and usage conditions.
// Do ":help credits" in Vim to see a list of people who contributed.
/*
* Define the version number, name, etc.
* The patchlevel is in included_patches[], in version.c.
*
* This doesn't use string concatenation, some compilers don't support it.
*/
// Vim version number, name, etc. Patchlevel is defined in version.c.
#define VIM_VERSION_MAJOR 7
#define VIM_VERSION_MAJOR_STR "7"
@@ -29,17 +22,15 @@
/* Used by MacOS port should be one of: development, alpha, beta, final */
#define VIM_VERSION_RELEASE development
/*
* VIM_VERSION_NODOT is used for the runtime directory name.
* VIM_VERSION_SHORT is copied into the swap file (max. length is 6 chars).
* VIM_VERSION_MEDIUM is used for the startup-screen.
* VIM_VERSION_LONG is used for the ":version" command and "Vim -h".
*/
// used for the runtime directory name
#define VIM_VERSION_NODOT "vim74"
// copied into the swap file (max. length is 6 chars)
#define VIM_VERSION_SHORT "7.4"
// used for the startup-screen
#define VIM_VERSION_MEDIUM "7.4"
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.4 (2014)"
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.4 (2014, compiled "
// used for the ":version" command and "Vim -h"
#define NVIM_VERSION_LONG "NVIM 0.0.0 pre-alpha"
#define NVIM_VERSION_LONG_DATE "NVIM 0.0.0 pre-alpha (compiled "
/* Displayed on splash screen. */
#define MODIFIED_BY "the Neovim contributors."