summaryrefslogtreecommitdiff
path: root/libre/vim/vimdoc.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre/vim/vimdoc.hook')
-rw-r--r--libre/vim/vimdoc.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/vim/vimdoc.hook b/libre/vim/vimdoc.hook
new file mode 100644
index 000000000..b77d5929f
--- /dev/null
+++ b/libre/vim/vimdoc.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Operation= Remove
+Type = File
+Target = usr/share/vim/vimfiles/doc/
+
+[Action]
+Description = Updating Vim help tags...
+Exec = /usr/bin/vim -es --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q"
+When = PostTransaction