mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +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:
@@ -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