diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2015-03-01 16:59:24 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-08 21:54:57 -0400 |
commit | e0f8eea9f103370be7fd8faefae78482c654cb06 (patch) | |
tree | ce6c4318f8c909d77597c616469159d0902e3fda /src/nvim/ex_cmds.c | |
parent | 4f92178a7597f0478f306086933a163109ee894c (diff) | |
download | rneovim-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/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index afa397976b..e98032da5c 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -19,7 +19,6 @@ #include "nvim/vim.h" #include "nvim/ascii.h" -#include "nvim/version_defs.h" #include "nvim/ex_cmds.h" #include "nvim/buffer.h" #include "nvim/charset.h" @@ -64,6 +63,7 @@ #include "nvim/tempfile.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/shell.h" @@ -1708,7 +1708,7 @@ static void do_viminfo(FILE *fp_in, FILE *fp_out, int flags) if (fp_out != NULL) { /* Write the info: */ fprintf(fp_out, _("# This viminfo file was generated by Nvim %s.\n"), - NVIM_VERSION_MEDIUM); + mediumVersion); fputs(_("# You may edit it if you're careful!\n\n"), fp_out); fputs(_("# Value of 'encoding' when this file was written\n"), fp_out); fprintf(fp_out, "*encoding=%s\n\n", p_enc); |