Explorar el Código

~/.vimrc: Fix automatic project loading.

Only load a `.project.vim` when no other file is to be loaded.
Lucas Stadler %!s(int64=14) %!d(string=hace) años
padre
commit
9f34ed45dc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .vimrc

+ 1 - 1
.vimrc

@ -201,6 +201,6 @@ if getcwd() != $HOME && filereadable('.vimrc')
201 201
	source .vimrc
202 202
endif
203 203
204
if filereadable('.project.vim') && expand("%p") != ".git/COMMIT_EDITMSG"
204
if filereadable('.project.vim') && expand("%") == ""
205 205
	silent source .project.vim
206 206
endif