mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
config: split out versiondef.h from config.h
This avoids recompiling every c file after comitting.
This commit is contained in:

committed by
Justin M. Keyes

parent
d2e13d3b3d
commit
4f92178a75
@@ -1,6 +1,18 @@
|
||||
#ifndef NVIM_VERSION_H
|
||||
#define NVIM_VERSION_H
|
||||
|
||||
//
|
||||
// Vim version number, name, etc. Patchlevel is defined in version.c.
|
||||
//
|
||||
#define VIM_VERSION_MAJOR 7
|
||||
#define VIM_VERSION_MINOR 4
|
||||
#define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR)
|
||||
|
||||
// used for the runtime directory name
|
||||
#define VIM_VERSION_NODOT "vim74"
|
||||
// swap file compatibility (max. length is 6 chars)
|
||||
#define VIM_VERSION_SHORT "7.4"
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "version.h.generated.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user