aur-packages/deoplete-git/deoplete.install

27 lines
713 B
Plaintext
Raw Normal View History

2017-12-24 22:34:56 -08:00
update_helptag() {
echo -n "Updating vim 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. "
}
2017-12-24 21:56:41 -08:00
post_install() {
2017-12-24 22:34:56 -08:00
update_helptag
2017-12-24 21:56:41 -08:00
echo ""
echo " Note: Python3 must be enabled before updating remote plugins
If Deoplete was installed prior to Python support being added to Neovim, :UpdateRemotePlugins
should be executed manually in order to enable auto-completion."
echo ""
echo " you might need to add the following to your init.vim:
\"let g:deoplete#enable_at_startup = 1\""
echo ""
}
2017-12-24 22:34:56 -08:00
post_upgrade() {
update_helptag ${1}
}
post_remove() {
update_helptag
}