mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
version: remove "Running in Vi compatible mode" message #1309
This commit is contained in:

committed by
Justin M. Keyes

parent
1eb3dae04a
commit
6c78fd1a64
@@ -887,21 +887,11 @@ void intro_message(int colon)
|
|||||||
"",
|
"",
|
||||||
N_("type :q<Enter> to exit "),
|
N_("type :q<Enter> to exit "),
|
||||||
N_("type :help<Enter> or <F1> for on-line help"),
|
N_("type :help<Enter> or <F1> for on-line help"),
|
||||||
NULL,
|
|
||||||
"",
|
|
||||||
N_("Running in Vi compatible mode"),
|
|
||||||
N_("type :set nocp<Enter> for Vim defaults"),
|
|
||||||
N_("type :help cp-default<Enter> for info on this"),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// blanklines = screen height - # message lines
|
// blanklines = screen height - # message lines
|
||||||
blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1);
|
blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1);
|
||||||
|
|
||||||
if (!p_cp) {
|
|
||||||
// add 4 for not showing "Vi compatible" message
|
|
||||||
blanklines += 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Don't overwrite a statusline. Depends on 'cmdheight'.
|
// Don't overwrite a statusline. Depends on 'cmdheight'.
|
||||||
if (p_ls > 1) {
|
if (p_ls > 1) {
|
||||||
blanklines -= Rows - topframe->fr_height;
|
blanklines -= Rows - topframe->fr_height;
|
||||||
|
Reference in New Issue
Block a user