version.h
Go to the documentation of this file.
1 #ifndef NVIM_VERSION_H
2 #define NVIM_VERSION_H
3 
4 #include "nvim/ex_cmds_defs.h"
5 
6 // defined in version.c
7 extern char* Version;
8 extern char* longVersion;
9 
10 //
11 // Vim version number, name, etc. Patchlevel is defined in version.c.
12 //
13 #define VIM_VERSION_MAJOR 8
14 #define VIM_VERSION_MINOR 0
15 #define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR)
16 
17 // used for the runtime directory name
18 #define VIM_VERSION_NODOT "vim80"
19 // swap file compatibility (max. length is 6 chars)
20 #define VIM_VERSION_SHORT "8.0"
21 
22 #ifdef INCLUDE_GENERATED_DECLARATIONS
23 # include "version.h.generated.h"
24 #endif
25 #endif // NVIM_VERSION_H
char * Version
Definition: version.c:39
char * longVersion
Definition: version.c:40