summarylogtreecommitdiffstats
path: root/nvim-yarp.install
diff options
context:
space:
mode:
authorTrent Palmer2018-08-13 13:49:12 -0700
committerTrent Palmer2018-08-13 13:49:12 -0700
commit9d79109686e219d26a5368946034a3e9de76f052 (patch)
tree18dae18bd06c30b9a3414ff62a6a8fb22772251b /nvim-yarp.install
downloadaur-9d79109686e219d26a5368946034a3e9de76f052.tar.gz
initial commit
Diffstat (limited to 'nvim-yarp.install')
-rw-r--r--nvim-yarp.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/nvim-yarp.install b/nvim-yarp.install
new file mode 100644
index 000000000000..c366682f2c6a
--- /dev/null
+++ b/nvim-yarp.install
@@ -0,0 +1,18 @@
+update_vim_help() {
+ echo -n "Updating Vim help tags..."
+ /usr/bin/vim --noplugin -u NONE -U NONE \
+ --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+}
+
+post_install() {
+ update_vim_help
+}
+
+post_upgrade() {
+ update_vim_help "$1"
+}
+
+post_remove() {
+ update_vim_help
+}