mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00

These are not needed after #35129 but making uncrustify still play nice with them was a bit tricky. Unfortunately `uncrustify --update-config-with-doc` breaks strings with backslashes. This issue has been reported upstream, and in the meanwhile auto-update on every single run has been disabled.
31 lines
853 B
C
31 lines
853 B
C
#pragma once
|
|
|
|
#include "nvim/api/private/defs.h" // IWYU pragma: keep
|
|
#include "nvim/ex_cmds_defs.h" // IWYU pragma: keep
|
|
#include "nvim/macros_defs.h"
|
|
|
|
// defined in version.c
|
|
extern char *Version;
|
|
extern char *longVersion;
|
|
#ifndef NDEBUG
|
|
extern char *version_cflags;
|
|
#endif
|
|
|
|
//
|
|
// Vim version number, name, etc. Patchlevel is defined in version.c.
|
|
//
|
|
|
|
// Values that change for a new release
|
|
#define VIM_VERSION_MAJOR 8
|
|
#define VIM_VERSION_MINOR 1
|
|
|
|
// Values based on the above
|
|
#define VIM_VERSION_MAJOR_STR STR(VIM_VERSION_MAJOR)
|
|
#define VIM_VERSION_MINOR_STR STR(VIM_VERSION_MINOR)
|
|
#define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR)
|
|
|
|
// swap file compatibility (max. length is 6 chars)
|
|
#define VIM_VERSION_SHORT VIM_VERSION_MAJOR_STR "." VIM_VERSION_MINOR_STR
|
|
|
|
#include "version.h.generated.h"
|