summaryrefslogtreecommitdiffstats
path: root/init-tg2
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2012-02-03 01:30:01 +0100
committerJan Pokorný <jpokorny@redhat.com>2012-02-03 01:30:01 +0100
commitfc2d9a48e9a5504f0ae4356278aa854cf2def1b1 (patch)
tree096a1a2479956be54e3859c553b93aade1dd41db /init-tg2
parent1efc8a2e2f475c9cb4d353d02177ff6fd335b4a5 (diff)
downloadvim4projects-fc2d9a48e9a5504f0ae4356278aa854cf2def1b1.tar.gz
vim4projects-fc2d9a48e9a5504f0ae4356278aa854cf2def1b1.tar.xz
vim4projects-fc2d9a48e9a5504f0ae4356278aa854cf2def1b1.zip
init: modular approach
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'init-tg2')
-rw-r--r--init-tg212
1 files changed, 12 insertions, 0 deletions
diff --git a/init-tg2 b/init-tg2
new file mode 100644
index 0000000..fb63647
--- /dev/null
+++ b/init-tg2
@@ -0,0 +1,12 @@
+# vim plugins for TG2 projects
+CHOICES="$CHOICES|tg2"
+
+tg2 () {
+ announce "--- tg2 ---"
+ # genshi-contrib:
+ # from genshi svn, contrib/vim
+ # TODO: is there a less complicated way to get these files?
+ GENSHI_CONTRIB_DIR="genshi-contrib"
+ GENSHI_CONTRIB_URL="http://svn.edgewall.org/repos/genshi/contrib/vim/"
+ do_wget $1 "$GENSHI_CONTRIB_DIR" -nc -e robots=off -r -l3 -np -nH --cut-dirs=4 -R index.html "$GENSHI_CONTRIB_URL"
+}