mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.1178
Problem: Can't put all Vim config files together in one directory. Solution: Load ~/.vim/vimrc if ~/.vimrc does not exist. (Lech Lorens)
This commit is contained in:
@@ -2980,6 +2980,10 @@ source_startup_scripts(parmp)
|
||||
#ifdef USR_VIMRC_FILE3
|
||||
&& do_source((char_u *)USR_VIMRC_FILE3, TRUE,
|
||||
DOSO_VIMRC) == FAIL
|
||||
#endif
|
||||
#ifdef USR_VIMRC_FILE4
|
||||
&& do_source((char_u *)USR_VIMRC_FILE4, TRUE,
|
||||
DOSO_VIMRC) == FAIL
|
||||
#endif
|
||||
&& process_env((char_u *)"EXINIT", FALSE) == FAIL
|
||||
&& do_source((char_u *)USR_EXRC_FILE, FALSE, DOSO_NONE) == FAIL)
|
||||
|
Reference in New Issue
Block a user