Possible to install with plugin manager
Th3Whit3Wolf opened this issue · comments
I'm trying to use minpac to install coc.nvim extensions.
Right now I'm doing this . . . (Note that this a much shorter than the actual)
call minpac#add('neoclide/coc.nvim', {'branch': 'release'})
call minpac#add('fannheyward/coc-marketplace', {'do': 'silent !yarn install --frozen-lockfile'})
call minpac#add('neoclide/coc-git', {'do': 'silent !(yarn install --frozen-lockfile)'})
call minpac#add('neoclide/coc-tsserver', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
call minpac#add('neoclide/coc-html', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
call minpac#add('neoclide/coc-json', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
if executable('ra_lsp_server')
call minpac#add('fannheyward/coc-rust-analyzer', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
elseif executable('rls')
call minpac#add('neoclide/coc-rls', {'type': 'opt'}, {'do': 'silent !(yarn install --frozen-lockfile)'})
endif
I have installed the extensions as the wik says here and minpac told me it's installed but I unable to run :CocList marketplace
.
Running :CocList extensions
it show me all off my extensions that should be loaded followed by [RTP], then version, then their path. coc-marketplace loads as enabled.
I'm not a minipac
user, I just test this mini.vim
packadd minpac
call minpac#init()
" minpac must have {'type': 'opt'} so that it can be loaded with `packadd`.
call minpac#add('k-takata/minpac', {'type': 'opt'})
" Add other plugins here.
call minpac#add('neoclide/coc.nvim', {'branch': 'release'})
call minpac#add('fannheyward/coc-marketplace', {'do': 'silent !yarn install --frozen-lockfile'})
" Load the plugins right now. (optional)
" packloadall
and nvim -u mini.vim
, then call minpac#update()
, after installed, I can :CocList marketplace
.
:CocList extensions
shows:
coc-marketplace [RTP] 1.5.0 ~/.config/nvim/pack/minpac/start/coc-marketplace
I get the same result but when I run :CocList marketplace
I get [coc.nvim] List marketplace
not found
I've fixed this issue on master. Please try again. It's dev-dependencies error.
Can confirm, thank you!