mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
version: don't use NVIM_VERSION_* directly outside version.c
This avoids recompiles after commiting.
This commit is contained in:

committed by
Justin M. Keyes

parent
4f92178a75
commit
e0f8eea9f1
@@ -70,6 +70,7 @@
|
||||
#include "nvim/syntax.h"
|
||||
#include "nvim/ui.h"
|
||||
#include "nvim/undo.h"
|
||||
#include "nvim/version.h"
|
||||
#include "nvim/window.h"
|
||||
#include "nvim/os/os.h"
|
||||
#include "nvim/os/time.h"
|
||||
@@ -4033,8 +4034,6 @@ void do_modelines(int flags)
|
||||
--entered;
|
||||
}
|
||||
|
||||
#include "nvim/version.h" /* for version number */
|
||||
|
||||
/*
|
||||
* chk_modeline() - check a single line for a mode string
|
||||
* Return FAIL if an error encountered.
|
||||
|
Reference in New Issue
Block a user