summarylogtreecommitdiffstats
path: root/neobundle.install
diff options
context:
space:
mode:
authoroozyslug2015-07-16 20:54:35 +0530
committeroozyslug2015-07-16 20:54:35 +0530
commit2065b5bec9ffc6b401859ebf2471e7dc16899581 (patch)
tree3eb6d9fa5430d4eb9fedc633a6bb7380ac2d391f /neobundle.install
downloadaur-2065b5bec9ffc6b401859ebf2471e7dc16899581.tar.gz
Initial commit
Diffstat (limited to 'neobundle.install')
-rw-r--r--neobundle.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/neobundle.install b/neobundle.install
new file mode 100644
index 000000000000..9d4248671d92
--- /dev/null
+++ b/neobundle.install
@@ -0,0 +1,21 @@
+post_install() {
+ echo -n "Updating vim help tags..."
+ /usr/bin/vim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+ echo "To use neobundle, please check the file in /usr/share/neobundle/vimrc.sample"
+ echo "and update your ~/.vimrc file, accordingly"
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ echo -n "Updating vim help tags..."
+ /usr/bin/vim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+ echo "Please remember to remove neobundles from your ~/.vimrc file"
+ echo "and from your ~/.vim directory!"
+}