Permalink
Browse files

source plugins.vim before loading pathogen

moved plugins.vim to core folder to prevent it from loading twice
thanks @apetresc closes #383
  • Loading branch information...
1 parent 624b9ca commit e17e410e115e003291125190034230bd8e85af20 @adrianrego adrianrego committed Jan 26, 2012
Showing with 4 additions and 0 deletions.
  1. 0 janus/vim/core/{before/plugin → }/plugins.vim
  2. +4 −0 janus/vim/vimrc
View
0 janus/vim/core/before/plugin/plugins.vim → janus/vim/core/plugins.vim
File renamed without changes.
View
4 janus/vim/vimrc
@@ -24,6 +24,10 @@ if filereadable(expand("~/.vimrc.before"))
source ~/.vimrc.before
endif
+
+" Disable plugins prior to loading pathogen
+exe 'source ' . g:janus_vim_path . '/core/plugins.vim'
+
""
"" Pathogen setup
""

0 comments on commit e17e410

Please sign in to comment.