changeset 571:9e936a929c2d

Fix call check to pathogen.
author nanaya <me@myconan.net>
date Wed, 24 Jun 2015 13:33:14 +0900
parents 3bd22b75cdc4
children a163d6875651
files rc/vimrc
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rc/vimrc	Wed Jun 24 13:33:02 2015 +0900
+++ b/rc/vimrc	Wed Jun 24 13:33:14 2015 +0900
@@ -32,9 +32,10 @@
 " http://stackoverflow.com/questions/14635295/vim-takes-a-very-long-time-to-start-up
 set clipboard=exclude:.*
 
-if has('call')
-  call pathogen#infect()
+if has("eval")
+  execute pathogen#infect()
 endif
+
 if has('filetype')
   filetype plugin indent on
 endif