mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user