Closed jcrd closed 2 years ago
Yeah you have to wrap it in list. Here's section from readme that shows all possible ways:
call a:packager.add('haorenW1025/completion-nvim', {'requires': [
\ ['nvim-treesitter/completion-treesitter', {'requires': 'nvim-treesitter/nvim-treesitter'}],
\ {'name': 'steelsojka/completion-buffers', 'opts': {'type': 'opt'}},
\ 'kristijanhusak/completion-tags',
\ ]})
Thanks, it wasn't clear based on this example that the surrounding list is required since the dict
syntax worked without it.
Perhaps the description of requires
in packager#add options should be clarified.
I've encountered an error while using the
requires
option with a list.The above produces this error:
However, wrapping the 'vimwiki' list in another list works: