mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
version.c: Add v
prefix to NVIM_VERSION_MEDIUM (#6310)
This commit is contained in:

committed by
Justin M. Keyes

parent
1de50acc41
commit
b6502b868e
@@ -25,8 +25,9 @@
|
|||||||
|
|
||||||
// for ":version", ":intro", and "nvim --version"
|
// for ":version", ":intro", and "nvim --version"
|
||||||
#ifndef NVIM_VERSION_MEDIUM
|
#ifndef NVIM_VERSION_MEDIUM
|
||||||
#define NVIM_VERSION_MEDIUM STR(NVIM_VERSION_MAJOR) "." STR(NVIM_VERSION_MINOR)\
|
#define NVIM_VERSION_MEDIUM "v" STR(NVIM_VERSION_MAJOR)\
|
||||||
"." STR(NVIM_VERSION_PATCH) NVIM_VERSION_PRERELEASE
|
"." STR(NVIM_VERSION_MINOR) "." STR(NVIM_VERSION_PATCH)\
|
||||||
|
NVIM_VERSION_PRERELEASE
|
||||||
#endif
|
#endif
|
||||||
#define NVIM_VERSION_LONG "NVIM " NVIM_VERSION_MEDIUM
|
#define NVIM_VERSION_LONG "NVIM " NVIM_VERSION_MEDIUM
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user