Skip to content

Commit e1687eb

Browse files
committed
Allow disabling rest of vimrc
1 parent f66e6f4 commit e1687eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

autoload/pathogen.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ function! pathogen#infect(...) abort
3535
endif
3636
endfor
3737
call pathogen#cycle_filetype()
38+
if pathogen#is_disabled($MYVIMRC)
39+
return 'finish'
40+
endif
3841
return ''
3942
endfunction
4043

0 commit comments

Comments
 (0)