# HG changeset patch # User Ludovic Chabant # Date 1332466988 25200 # Node ID b96ff0dd01377bed67b58a42cf9f2e22d1862ff5 # Parent e7d12826b2367f526b57da9931b4151ca0a8a8b7 Fixed the generated vimrc's runtimepath. diff -r e7d12826b236 -r b96ff0dd0137 install.cmd --- a/install.cmd Thu Mar 22 11:53:00 2012 -0700 +++ b/install.cmd Thu Mar 22 18:43:08 2012 -0700 @@ -13,7 +13,7 @@ set /P confirm=Will delete existing "%userprofile%\_vimrc". OK with that? Press CTRL-C to abort. del /Q "%userprofile%\_vimrc" ) -echo set runtimepath=%CWD:\=/%vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,%CWD:\=/%vim/after > "%userprofile%\_vimrc" +echo set runtimepath+=%CWD:\=/%vim > "%userprofile%\_vimrc" echo source %CWD:\=/%vim/vimrc >> "%userprofile%\_vimrc" :: Mercurial Files diff -r e7d12826b236 -r b96ff0dd0137 install.sh --- a/install.sh Thu Mar 22 11:53:00 2012 -0700 +++ b/install.sh Thu Mar 22 18:43:08 2012 -0700 @@ -9,8 +9,8 @@ # VIM # --- -ln -s "$CWD/vim" "$HOME/.vim" -ln -s "$CWD/vim/vimrc" "$HOME/.vimrc" +echo set runtimepath+=$CWD/vim > "$HOME/.vimrc" +echo source $CWD/vim/vimrc >> "$HOME/.vimrc" # MERCURIAL # --------- diff -r e7d12826b236 -r b96ff0dd0137 vim/vimrc --- a/vim/vimrc Thu Mar 22 11:53:00 2012 -0700 +++ b/vim/vimrc Thu Mar 22 18:43:08 2012 -0700 @@ -27,7 +27,7 @@ endif " Get our vim directory. -let s:vim_home=expand(":h") +let s:vim_home = expand(":h") " Disable some plugins. let g:pathogen_disabled = []