aur-packages/vim-lightline-git/lightline.install

35 lines
812 B
Plaintext
Raw Permalink Normal View History

2017-12-25 17:30:56 -08:00
update_neovim_helptag() {
echo -n "Updating neovim (nvim) 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. "
}
update_vim_helptag() {
echo -n 'Updating vim help tags...'
/usr/bin/vim --noplugins -u NONE -U NONE \
--cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
echo 'done.'
}
post_install() {
update_neovim_helptag
update_vim_helptag
echo ""
echo " see https://github.com/itchyny/lightline.vim for
tips on setting $TERM and configuring init.vim/vimrc"
echo ""
}
post_upgrade() {
update_neovim_helptag
update_vim_helptag
}
post_remove() {
update_neovim_helptag
update_vim_helptag
}
# vim:set ts=2 sw=2 et: