Closed aphecetche closed 5 years ago
Add a new command:
command! PackUpdateAndQuit call PackInit() | call minpack#update('', {'do': 'quit'})
Then
nvim --headless +PackUpdateAndQuit
Thanks.
For the record I'm running this installation from an Ansible recipe. I actually had to do add "+q" after the nvim call otherwise Ansible would hang somehow.
nvim --headless +PackUpdateAndQuit +q
Hi,
Trying to install plugins in neovim (for a fresh install) using
nvim —headless +PackUpdate +q
I guess I hit the issue that nvim is exiting before the PackUpdate function is completed.Is there a way to wait for PackUpdate completion before quitting ?
My init.vim :