From 72fd57a1821e834f07b5ace8bd2a9fe9b16c7d04 Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Thu, 2 Feb 2012 15:44:50 +0100 Subject: init.sh: add local_vimrc requisite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit needed e.g. with fugitive's Gdiff command Signed-off-by: Jan Pokorný --- init.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 8282b44..75d0133 100755 --- a/init.sh +++ b/init.sh @@ -71,12 +71,14 @@ git_init_submodule () { common () { announce "--- common ---" # local_vimrc: - # directory-local settings applied to contained files + # directory-local settings applied to contained files (+requisite) LOCAL_VIMRC_DIR="local-vimrc" LOCAL_VIMRC_URL="http://lh-vim.googlecode.com/svn/misc/trunk/plugin/local_vimrc.vim" + LH_COMMON_URL="http://lh-vim.googlecode.com/svn/vim-lib/trunk/autoload/lh/common.vim" # "plugin" directory has to be added (downloading recursively # the whole original "plugin" path for one file is impractical) do_wget $1 "$LOCAL_VIMRC_DIR/plugin" -nc "$LOCAL_VIMRC_URL" + do_wget $1 "$LOCAL_VIMRC_DIR/autoload/lh" -nc "$LH_COMMON_URL" } python () { -- cgit