mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.1570
Problem: There is no way to avoid the message when editing a file. Solution: Add the "F" flag to 'shortmess'. (Shougo, closes #686)
This commit is contained in:
@@ -2605,7 +2605,8 @@ ex_file(exarg_T *eap)
|
||||
return;
|
||||
}
|
||||
/* print full file name if :cd used */
|
||||
fileinfo(FALSE, FALSE, eap->forceit);
|
||||
if (!shortmess(SHM_FILEINFO))
|
||||
fileinfo(FALSE, FALSE, eap->forceit);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -3884,7 +3885,8 @@ do_ecmd(
|
||||
msg_scroll = msg_scroll_save;
|
||||
msg_scrolled_ign = TRUE;
|
||||
|
||||
fileinfo(FALSE, TRUE, FALSE);
|
||||
if (!shortmess(SHM_FILEINFO))
|
||||
fileinfo(FALSE, TRUE, FALSE);
|
||||
|
||||
msg_scrolled_ign = FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user