summarylogtreecommitdiffstats
path: root/nvim-doc.install
diff options
context:
space:
mode:
Diffstat (limited to 'nvim-doc.install')
-rw-r--r--nvim-doc.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/nvim-doc.install b/nvim-doc.install
new file mode 100644
index 00000000000..79795d84c37
--- /dev/null
+++ b/nvim-doc.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo -n "Updating neovim help tags..."
+ /usr/bin/nvim --noplugins -u NONE -U NONE \
+ --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install
+}