summarylogtreecommitdiffstats
path: root/vim-biosyntax.install
diff options
context:
space:
mode:
Diffstat (limited to 'vim-biosyntax.install')
-rw-r--r--vim-biosyntax.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/vim-biosyntax.install b/vim-biosyntax.install
new file mode 100644
index 000000000000..6b88851332e7
--- /dev/null
+++ b/vim-biosyntax.install
@@ -0,0 +1,17 @@
+update_helptags() {
+ printf "Updating vim help tags..."
+ vim -e -s -c "helptags /usr/share/vim/vimfiles/doc/" -c "quit"
+ printf "done\n"
+}
+
+post_install() {
+ update_helptags
+}
+
+post_upgrade() {
+ update_helptags
+}
+
+post_remove() {
+ update_helptags
+}