aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/version.h
blob: c10f6fa53438febc957ea8404dab5357eb7871f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef NVIM_VERSION_H
#define NVIM_VERSION_H

#include "nvim/ex_cmds_defs.h"

// defined in version.c
extern char* Version;
extern char* longVersion;

//
// Vim version number, name, etc. Patchlevel is defined in version.c.
//
#define VIM_VERSION_MAJOR                8
#define VIM_VERSION_MINOR                0
#define VIM_VERSION_100     (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR)

// used for the runtime directory name
#define VIM_VERSION_NODOT       "vim80"
// swap file compatibility (max. length is 6 chars)
#define VIM_VERSION_SHORT       "8.0"

#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "version.h.generated.h"
#endif
#endif  // NVIM_VERSION_H