diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-02-18 20:10:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 20:10:00 +0100 |
commit | 458299df796572c8b7cbb6b6af03f4642cf03215 (patch) | |
tree | fe08bc786d1f84dca48eb183a58b47507c5a2278 /src | |
parent | db849517c613733fb2959d43e6d10d5d98d5033d (diff) | |
download | rneovim-458299df796572c8b7cbb6b6af03f4642cf03215.tar.gz rneovim-458299df796572c8b7cbb6b6af03f4642cf03215.tar.bz2 rneovim-458299df796572c8b7cbb6b6af03f4642cf03215.zip |
fix: remove "Compiled by:" from :version/--version (#22316)
The :version output is already crowded as is, the last thing we need is
extraneous messages about who compiled it.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/globals.h | 2 | ||||
-rw-r--r-- | src/nvim/version.c | 17 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index df4ae05522..94448eb7d7 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -806,8 +806,6 @@ enum { extern char *default_vim_dir; extern char *default_vimruntime_dir; extern char *default_lib_dir; -extern char *compiled_user; -extern char *compiled_sys; #endif // When a window has a local directory, the absolute path of the global diff --git a/src/nvim/version.c b/src/nvim/version.c index 8ae43cb488..a9d72bf017 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -2699,23 +2699,6 @@ void list_version(void) msg(version_cflags); #endif -#ifdef HAVE_PATHDEF - - if ((*compiled_user != NUL) || (*compiled_sys != NUL)) { - msg_puts(_("\nCompiled ")); - - if (*compiled_user != NUL) { - msg_puts(_("by ")); - msg_puts((const char *)compiled_user); - } - - if (*compiled_sys != NUL) { - msg_puts("@"); - msg_puts((const char *)compiled_sys); - } - } -#endif // ifdef HAVE_PATHDEF - version_msg("\n\n"); #ifdef SYS_VIMRC_FILE |