aur-packages/deoplete-git/deoplete.install

32 lines
867 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 ""
2017-12-25 11:30:02 -08:00
echo " you might need to add the following to your init.vim/vimrc:
2017-12-24 21:56:41 -08:00
\"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
2017-12-25 11:30:02 -08:00
echo ""
echo " you might need to remove the following to your init.vim/vimrc:
\"let g:deoplete#enable_at_startup = 1\""
echo ""
2017-12-24 22:34:56 -08:00
}