summarylogtreecommitdiffstats
path: root/nvim-doc.install
diff options
context:
space:
mode:
authorJoost Bremmer2016-10-13 17:33:47 +0200
committerJoost Bremmer2016-10-13 17:33:47 +0200
commitde522c64b8c4d49761af5158bc1764a08626cc61 (patch)
tree9a28021834acf7a5a7ab20812627c6ed0440a5b6 /nvim-doc.install
downloadaur-de522c64b8c4d49761af5158bc1764a08626cc61.tar.gz
Initial commit
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 000000000000..79795d84c37b
--- /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
+}