aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2015-03-01 16:59:24 +0100
committerJustin M. Keyes <justinkz@gmail.com>2015-03-08 21:54:57 -0400
commite0f8eea9f103370be7fd8faefae78482c654cb06 (patch)
treece6c4318f8c909d77597c616469159d0902e3fda /src/nvim/buffer.c
parent4f92178a7597f0478f306086933a163109ee894c (diff)
downloadrneovim-e0f8eea9f103370be7fd8faefae78482c654cb06.tar.gz
rneovim-e0f8eea9f103370be7fd8faefae78482c654cb06.tar.bz2
rneovim-e0f8eea9f103370be7fd8faefae78482c654cb06.zip
version: don't use NVIM_VERSION_* directly outside version.c
This avoids recompiles after commiting.
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 5246b10dbb..c4abcd77b1 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -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.