Mercurial > vim
comparison runtime/doc/starting.txt @ 24733:08eced3add83 v8.2.2905
patch 8.2.2905: no error when defaults.vim cannot be loaded
Commit: https://github.com/vim/vim/commit/1d3a14ecf0cdde026984894c592dc140a2b46887
Author: Christian Brabandt <cb@256bit.org>
Date: Sat May 29 19:53:50 2021 +0200
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 https://github.com/vim/vim/issues/8248)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 May 2021 20:00:04 +0200 |
parents | 840665e74421 |
children | 3e661b0cf500 |
comparison
equal
deleted
inserted
replaced
24732:c0f0fca0a06c | 24733:08eced3add83 |
---|---|
1034 mappings depend on a certain value of 'compatible', set or reset it before | 1034 mappings depend on a certain value of 'compatible', set or reset it before |
1035 giving the mapping. | 1035 giving the mapping. |
1036 | 1036 |
1037 | 1037 |
1038 Defaults without a .vimrc file ~ | 1038 Defaults without a .vimrc file ~ |
1039 *defaults.vim* | 1039 *defaults.vim* *E1187* |
1040 If Vim is started normally and no user vimrc file is found, the | 1040 If Vim is started normally and no user vimrc file is found, the |
1041 $VIMRUNTIME/defaults.vim script is loaded. This will set 'compatible' off, | 1041 $VIMRUNTIME/defaults.vim script is loaded. This will set 'compatible' off, |
1042 switch on syntax highlighting and a few more things. See the script for | 1042 switch on syntax highlighting and a few more things. See the script for |
1043 details. NOTE: this is done since Vim 8.0, not in Vim 7.4. (it was added in | 1043 details. NOTE: this is done since Vim 8.0, not in Vim 7.4. (it was added in |
1044 patch 7.4.2111 to be exact). | 1044 patch 7.4.2111 to be exact). |