summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2012-02-02 15:44:50 +0100
committerJan Pokorný <jpokorny@redhat.com>2012-02-02 15:44:50 +0100
commit72fd57a1821e834f07b5ace8bd2a9fe9b16c7d04 (patch)
tree74e66de5694ee42c08afc5c7ab314b0cd6383d79
parent5b0445ec79dc00b7f34fee0604de8d96756ad4f1 (diff)
downloadvim4projects-72fd57a1821e834f07b5ace8bd2a9fe9b16c7d04.tar.gz
vim4projects-72fd57a1821e834f07b5ace8bd2a9fe9b16c7d04.tar.xz
vim4projects-72fd57a1821e834f07b5ace8bd2a9fe9b16c7d04.zip
init.sh: add local_vimrc requisite
needed e.g. with fugitive's Gdiff command Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-xinit.sh4
1 files changed, 3 insertions, 1 deletions
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 () {