mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
version: remove "Running in Vi compatible mode" message #1309
This commit is contained in:
parent
1eb3dae04a
commit
6c78fd1a64
@ -887,21 +887,11 @@ void intro_message(int colon)
|
||||
"",
|
||||
N_("type :q<Enter> to exit "),
|
||||
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 = (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'.
|
||||
if (p_ls > 1) {
|
||||
blanklines -= Rows - topframe->fr_height;
|
||||
|
Loading…
Reference in New Issue
Block a user