Advertisement
Guest User

nvimdoc.install

a guest
Mar 10th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1. post_install() {
  2.     echo -n "Updating neovim help tags..."
  3.     /usr/bin/nvim --noplugins -u NONE \
  4.         --cmd ":helptags /usr/share/nvim/site/doc" --cmd ":q" > /dev/null 2>&1
  5.     echo "done."
  6. }
  7.  
  8. post_upgrade() {
  9.   post_install $1
  10. }
  11.  
  12. post_remove() {
  13.   post_install
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement