summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2012-11-26 13:13:40 +0100
committerJan Pokorný <jpokorny@redhat.com>2012-11-26 13:13:40 +0100
commit4201e844221422ee2d4f19f748007af5d5d3fa4a (patch)
treeb1934b58a216642572fb6fc0f5fd3b430b7bd0c1
parent9077a669f78f9ec5e8c6095af5ae7a9ecb593b55 (diff)
downloadvim4projects-4201e844221422ee2d4f19f748007af5d5d3fa4a.tar.gz
vim4projects-4201e844221422ee2d4f19f748007af5d5d3fa4a.tar.xz
vim4projects-4201e844221422ee2d4f19f748007af5d5d3fa4a.zip
simplify init* a bit
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--init-common1
-rw-r--r--init-optional1
-rw-r--r--init-python1
-rw-r--r--init-tg21
-rw-r--r--init-web1
-rwxr-xr-xinit.sh1
6 files changed, 1 insertions, 5 deletions
diff --git a/init-common b/init-common
index c84e2b0..62f6cff 100644
--- a/init-common
+++ b/init-common
@@ -1,6 +1,5 @@
# common vim plugins for shared projects
common () {
- init_announce "--- common ---" delimit
# local_vimrc:
# directory-local settings applied to contained files (+requisite)
_local_vimrc_dir="url-local-vimrc"
diff --git a/init-optional b/init-optional
index d2ea350..a02785f 100644
--- a/init-optional
+++ b/init-optional
@@ -1,6 +1,5 @@
# optional (but recommended) vim plugins
optional () {
- init_announce "--- optional ---" delimit
# makegreen:
# test results integration
# Tagbar (possible alternative TagList):
diff --git a/init-python b/init-python
index 75fc9ad..d70257d 100644
--- a/init-python
+++ b/init-python
@@ -1,6 +1,5 @@
# vim plugins for Python projects
python () {
- init_announce "--- python ---" delimit
# Python-mode:
# integrates pylint, rope, pydoc, pyflakes
# + extra highlighting, whitespace removal ...
diff --git a/init-tg2 b/init-tg2
index dda73a9..578ed42 100644
--- a/init-tg2
+++ b/init-tg2
@@ -1,6 +1,5 @@
# vim plugins for TG2 projects
tg2 () {
- init_announce "--- tg2 ---" delimit
# genshi-contrib:
# from genshi svn, contrib/vim
_genshi_contrib_dir="svn-genshi-contrib"
diff --git a/init-web b/init-web
index ed7f573..ef5fd5c 100644
--- a/init-web
+++ b/init-web
@@ -1,6 +1,5 @@
# vim plugins for web projects
web () {
- init_announce "--- web ---" delimit
# empty for now
}
#init_register web
diff --git a/init.sh b/init.sh
index 3780389..069b51f 100755
--- a/init.sh
+++ b/init.sh
@@ -296,6 +296,7 @@ main () {
while [ -n "$1" ]; do
eval "case \"$1\" in
$CHOICES)
+ init_announce "--- $1 ---" delimit
$1 $action
ret=\$?
[ \$ret -ne 0 ] && return \$ret