mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.2319
Problem: No way for a system wide vimrc to stop loading defaults.vim. (Christian Hesse) Solution: Bail out of defaults.vim if skip_defaults_vim was set.
This commit is contained in:
parent
349e7d94e6
commit
b07a82b6d5
@ -1,7 +1,7 @@
|
|||||||
" The default vimrc file.
|
" The default vimrc file.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last change: 2016 Aug 28
|
" Last change: 2016 Sep 02
|
||||||
"
|
"
|
||||||
" This is loaded if no vimrc file was found.
|
" This is loaded if no vimrc file was found.
|
||||||
" Except when Vim is run with "-u NONE" or "-C".
|
" Except when Vim is run with "-u NONE" or "-C".
|
||||||
@ -13,6 +13,12 @@ if v:progname =~? "evim"
|
|||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Bail out if something that ran earlier, e.g. a system wide vimrc, does not
|
||||||
|
" want Vim to use these default values.
|
||||||
|
if exists('skip_defaults_vim')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
" Use Vim settings, rather than Vi settings (much better!).
|
" Use Vim settings, rather than Vi settings (much better!).
|
||||||
" This must be first, because it changes other options as a side effect.
|
" This must be first, because it changes other options as a side effect.
|
||||||
set nocompatible
|
set nocompatible
|
||||||
|
@ -763,6 +763,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2319,
|
||||||
/**/
|
/**/
|
||||||
2318,
|
2318,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user