patch 8.0.1607: --clean loads user settings from .gvimrc

Problem:    --clean loads user settings from .gvimrc.
Solution:   Behave like "-U NONE" was used. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2018-03-14 21:20:02 +01:00
parent 228de1dfd2
commit 62dd452d02
3 changed files with 7 additions and 1 deletions

View File

@ -510,11 +510,12 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
{not in Vi}
*--clean*
--clean Equal to "-u DEFAULTS -i NONE":
--clean Equal to "-u DEFAULTS -U NONE -i NONE":
- initializations from files and environment variables is
skipped
- the |defaults.vim| script is loaded, which implies
'nocompatible': use Vim defaults
- no |gvimrc| script is loaded
- no viminfo file is read or written
- the home directory is excluded from 'runtimepath'
*-x*