mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 01:38:16 +00:00
'shortmess': Add "F" flag. #4446
Add "Don't give the file editing message" flag in shortmess option. Add the UI tests by @fmoralesc Fix the changes for Vim 7.4.1570
This commit is contained in:

committed by
Justin M. Keyes

parent
c94575fded
commit
77a7ca458b
@@ -1506,8 +1506,11 @@ void ex_file(exarg_T *eap)
|
||||
if (rename_buffer(eap->arg) == FAIL)
|
||||
return;
|
||||
}
|
||||
/* print full file name if :cd used */
|
||||
fileinfo(FALSE, FALSE, eap->forceit);
|
||||
|
||||
if (!shortmess(SHM_FILEINFO)) {
|
||||
// print full file name if :cd used
|
||||
fileinfo(false, false, eap->forceit);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -2483,7 +2486,9 @@ 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