patch 8.2.2905: no error when defaults.vim cannot be loaded

Problem:    No error when defaults.vim cannot be loaded.
Solution:   Add an error message. (Christian Brabandt, closes #8248)
This commit is contained in:
Christian Brabandt
2021-05-29 19:53:50 +02:00
committed by Bram Moolenaar
parent 74ede80aeb
commit 1d3a14ecf0
5 changed files with 26 additions and 3 deletions

View File

@ -1036,7 +1036,7 @@ giving the mapping.
Defaults without a .vimrc file ~
*defaults.vim*
*defaults.vim* *E1187*
If Vim is started normally and no user vimrc file is found, the
$VIMRUNTIME/defaults.vim script is loaded. This will set 'compatible' off,
switch on syntax highlighting and a few more things. See the script for