diff options
author | Joost Bremmer | 2016-10-13 17:19:21 +0200 |
---|---|---|
committer | Joost Bremmer | 2016-10-13 17:19:21 +0200 |
commit | e294a79a988b389d2cc0594b54416883d3a6ba6f (patch) | |
tree | 6a9a2efd399f94cd867ce0e0be869810dde9989e /nvim-doc.install | |
download | aur-e294a79a988b389d2cc0594b54416883d3a6ba6f.tar.gz |
Initial commit
Diffstat (limited to 'nvim-doc.install')
-rw-r--r-- | nvim-doc.install | 14 |
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 +} |