Browse Source

~/.vimrc: Fix automatic project loading.

Only load a `.project.vim` when no other file is to be loaded.
Lucas Stadler 14 years ago
parent
commit
9f34ed45dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .vimrc

+ 1 - 1
.vimrc

201
	source .vimrc
201
	source .vimrc
202
endif
202
endif
203
203
204
if filereadable('.project.vim') && expand("%p") != ".git/COMMIT_EDITMSG"
204
if filereadable('.project.vim') && expand("%") == ""
205
	silent source .project.vim
205
	silent source .project.vim
206
endif
206
endif