k-takata/minpac

warning: minpac progress window not found.

vincentqb opened this issue · 2 comments

Following this comment, I'm trying to have a command line way of updating plugins in nvim:

❯ nvim "+call PackInit()" "+call minpac#update('', {'do': 'quit'})"

nvim opens, pack updates, progress window closes, but status bar then shows

warning: minpac progress window not found.

This also occurs when in nvim and typing

:call PackInit() | call minpac#update('', {'do': 'quit'})

I'm using:

❯ nvim --version
NVIM v0.8.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/__w/neovim/neovim/build/cmake.config -I/__w/neovim/neovim/src -I/__w/neovim/neovim/.deps/usr/include -I/usr/include -I/__w/neovim/neovim/build/src/nvim/auto -I/__w/neovim/neovim/build/include
Compiled by root@08a8cca64bea

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/__w/neovim/neovim/build/nvim.AppDir/usr/share/nvim"

Run :checkhealth for more info

Thank you!

Sorry for late.
How about using {'do': 'qall'} instead of {'do': 'quit'}?
(It seems that I had to update the document when I introduced the status window.)

I've already updated the document. Closing.