These are chat archives for Shougo/dein.vim

26th
Apr 2016
Wang Shidong
@wsdjeg
Apr 26 2016 03:29
thanks
Alexander Jeurissen
@alexanderjeurissen
Apr 26 2016 21:24

in the documentation the following is stated:

*dein-options-depends*
        depends        (List or String)
        Specify a list of plugins a plugin depends on.
        List items are '{plugin-name}'.
        Those specified in the list are NOT installed automatically.
        Note: The loading order is not guaranteed in non lazy plugins.

If depends doesn't install the mentioned plugin handles automatically then what is the use of the depends option ? Just to make sure those plugins are sourced before the plugin with the depends option ?

Shougo
@Shougo
Apr 26 2016 21:32
If depends doesn't install the mentioned plugin handles automatically then what is the use of the depends option ?
If they are not installed, dein will print the error.
Just to make sure those plugins are sourced before the plugin with the depends option ?
Yes
It is the different behavior with neobundle.
Alexander Jeurissen
@alexanderjeurissen
Apr 26 2016 22:00
ah ok thanks for clarifying ! I really like dein so far :thumbsup: it's really fast.
Alexander Jeurissen
@alexanderjeurissen
Apr 26 2016 22:28
I came across the following problem though when cloning my new dotfiles to another machine of mine (also running osx).
I get an error with the following dein#add call:
  call dein#add('szw/vim-maximizer', {
        \ 'lazy': 1,
        \ 'on_cmd': 'MaximizerToggle',
        \ 'hook_add': 'nnoremap <silent><leader>wz :MaximizerToggle<CR>'
        \})
Screen Shot 2016-04-26 at 23.59.01.png
Shougo
@Shougo
Apr 26 2016 22:29
You don't have to add lazy.
Alexander Jeurissen
@alexanderjeurissen
Apr 26 2016 22:29
Yeah I'm aware of that refactoring that is on my todolist ;)
do you think that's causing the error ?
Shougo
@Shougo
Apr 26 2016 22:30
Please create new issue.
I will try it.
Alexander Jeurissen
@alexanderjeurissen
Apr 26 2016 22:30
ok I will