mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-21 19:01:31 -08:00
extend deoplete-git/deoplete.install
This commit is contained in:
parent
35b8ef3d4d
commit
309861ddf1
@ -1,4 +1,11 @@
|
||||
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. "
|
||||
}
|
||||
|
||||
post_install() {
|
||||
update_helptag
|
||||
echo ""
|
||||
echo " Note: Python3 must be enabled before updating remote plugins
|
||||
If Deoplete was installed prior to Python support being added to Neovim, :UpdateRemotePlugins
|
||||
@ -9,3 +16,11 @@ post_install() {
|
||||
\"let g:deoplete#enable_at_startup = 1\""
|
||||
echo ""
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
update_helptag ${1}
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
update_helptag
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user