summaryrefslogtreecommitdiffstats
path: root/init-common
blob: 0a247d85a594ee67aa6cb30f2c56e88e82417c40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# common vim plugins for shared projects
CHOICES="$CHOICES|common"

common () {
	announce "--- common ---"
	# local_vimrc:
	#   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"
}