Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Wang Shidong
    @wsdjeg
    @mhartington I think an issue maybe should be open. "airline lost color after dein check install plugin when neovim startup."
    Mike Hartington
    @mhartington
    Wang Shidong
    @wsdjeg
    thanks
    Alexander Jeurissen
    @alexanderjeurissen

    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
    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
    ah ok thanks for clarifying ! I really like dein so far :thumbsup: it's really fast.
    Alexander Jeurissen
    @alexanderjeurissen
    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
    You don't have to add lazy.
    Alexander Jeurissen
    @alexanderjeurissen
    Yeah I'm aware of that refactoring that is on my todolist ;)
    do you think that's causing the error ?
    Shougo
    @Shougo
    Please create new issue.
    I will try it.
    Alexander Jeurissen
    @alexanderjeurissen
    ok I will
    Alexander Jeurissen
    @alexanderjeurissen
    Ok so quick update, I tried removing dein completely before (the whole folder including cache) but back then that didn't solve the issue.
    Using a minimal vimrc I could no longer reproduce the error. So I asumed something was wrong in my config. So I commented out all dein#add calls and uncommented them one by one calling the dein recache command after uncommenting it as well as resourcing my vimrc. Now I have everything working as expected with all plugins uncommented.
    I also can no longer reproduce the error even when removing dein completely and reinstalling.. So all is well not sure what was causing the race condition.
    I'll create an github issue tomorrow describing the race condition in more detail. I'm off to bed now.
    Gontran Baerts
    @gbcreation

    Hi, I would like to check at startup if a plugin is enabled or disabled to display a warning message. For example:

    call dein#begin(...)
    call dein#add('ternjs/tern_for_vim', {
    \    'if': 'executable("tern")'
    \ })
    if dein#tap('tern_for_vim') == 0
        echohl WarningMsg | echom "tern_for_vim disabled. Is tern installed ?" | echohl None
    endif
    call dein#end()

    Is it the right way to do this ?

    Shougo
    @Shougo
    Yes.
    Gontran Baerts
    @gbcreation
    OK, thanks.
    afk
    @afk-mario
    What is the best way to check if a plugin is already installed on dein?
    for example
    This message was deleted
        if isdirectory(expand("~/.vim/bundle/gundo.vim"))
            let g:gundo_prefer_python3 = 1
            nnoremap <leader>g :GundoToggle<CR>
        endif
    afk
    @afk-mario
    dein#check_install()?
    afk
    @afk-mario
    if !dein#check_install(["sjl/gundo.vim"])
        echom 'Gundo Installed'
        let g:gundo_prefer_python3 = 1
        nnoremap <leader>g :GundoToggle<CR>
    endif
    I can't get that to work :worried:
    Shougo
    @Shougo
    @Arlefreak You should use dein#tap().
    if dein#tap('gundo.vim')
    afk
    @afk-mario
    @Shougo Thanks!
    afk
    @afk-mario

    @Shougo hey I'm trying to add Omnisharp to my dein config, and add the build config, the problem is that I need to run
    git submodule update --init --recursive

    before doind the actual build, currently I have:

            call dein#add('OmniSharp/omnisharp-vim', {
                        \ 'build':
                        \   'sh -c "cd server/ && xbuild"'
                        \ })
    afk
    @afk-mario

    Also I got this error:

    fatal: Not a git repository (or any of the parent directories): .git
    /.cache/dein/repos/github.com/klen/python-mode

    When I try to install python-mode

    Wang Shidong
    @wsdjeg
    anyone use indentLine?
    Mike Hartington
    @mhartington
    yeah
    Shougo
    @Shougo
    hey I'm trying to add Omnisharp to my dein config, and add the build config, the problem is that I need to run
    dein executes the command automatically.
    I think you have installed it by hand.
    Wang Shidong
    @wsdjeg
    indentline do not shown on first buffer when open vim
    but it will shown on the second buffer if I use :e command or Ctrlp to open file
    afk
    @afk-mario
    @Shougo I didn't installed by hand, I could try to delete the cache and check if it runs the git command
    Matthias Günther
    @wikimatze
    I'm getting the following error: -- More --ICE default IO error handler doing an exit(), pid = 12334, errno = 32
    Here is my .vimrc
    "dein Scripts-----------------------------
    " Grab dein.vim if it does not exist
    if empty(glob('~/.dein.vim'))
      silent !curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh && bash installer.sh ~/.dein.vim 
    endif
    
    if &compatible
      set nocompatible " Be iMproved
    endif
    
    " Required:
    set runtimepath^=~/.dein.vim/repos/github.com/Shougo/dein.vim
    
    " Required:
    call dein#begin(expand('~/.dein.vim'))
    let g:dein#install_process_timeout=200
    
    " Let dein manage dein
    " Required:
    call dein#add('Shougo/dein.vim')
    
    " Add or remove your plugins here:
    call dein#add('nelstrom/vim-markdown-folding', { 'rev': '110f814' })
    call dein#add('Raimondi/delimitMate', { 'rev': '2.7' })
    call dein#add('Shougo/neosnippet.vim', { 'rev': 'ver.4.2' })
    call dein#add('Shougo/neoyank.vim', { 'rev': '40042cc' })
    call dein#add('Shougo/unite.vim', { 'rev': 'c9d2ced' })
    call dein#add('bling/vim-airline', { 'rev': 'v0.8' })
    call dein#add('botandrose/vim-testkey', { 'rev': 'v0.4.0' })
    call dein#add('christoomey/vim-tmux-navigator', { 'rev': 'v1.0' })
    call dein#add('dkprice/vim-easygrep', { 'rev': 'v2.0' })
    call dein#add('gabesoft/vim-ags', { 'rev': 'v0.0.6' })
    call dein#add('gregsexton/gitv', { 'rev': 'v1.3' })
    call dein#add('idanarye/vim-merginal', { 'rev': '1.6.0' })
    call dein#add('jamessan/vim-gnupg', { 'rev': '2dfb82f' })
    call dein#add('jbgutierrez/vim-partial', { 'rev': 'bfbbe40' })
    call dein#add('jez/vim-superman', { 'rev': 'v0.9.1' })
    call dein#add('junegunn/vim-easy-align', { 'rev': 'v2.10.0' })
    call dein#add('klen/unite-radio.vim', { 'rev': 'c49404c' })
    call dein#add('koron/nyancat-vim', { 'rev': 'v1.0' })
    call dein#add('lervag/vimtex', { 'rev': '1aedd5a' })
    call dein#add('ludovicchabant/vim-gutentags', { 'rev': 'abd332' })
    call dein#add('reedes/vim-litecorrect', { 'rev': 'v1.1' })
    call dein#add('ryanoasis/vim-devicons', { 'rev': 'v0.7.1' })
    call dein#add('scrooloose/syntastic', { 'rev': 'v3.7.0' })
    call dein#add('sheerun/vim-polyglot', { 'rev': 'v2.6.0' })
    call dein#add('sk1418/blockit', { 'rev': 'v1.0.0' })
    call dein#add('tomtom/tcomment_vim', { 'rev': 'v3.08' })
    call dein#add('tpope/vim-endwise', { 'rev': 'v1.2' })
    call dein#add('tpope/vim-eunuch', { 'rev': 'v1.1' })
    call dein#add('tpope/vim-fugitive', { 'rev': 'v2.2' })
    call dein#add('tpope/vim-surround', { 'rev': 'v2.1' })
    call dein#add('tyru/open-browser.vim', { 'rev': 'v0.1.1' })
    call dein#add('wellle/tmux-complete.vim', { 'rev': 'v0.1.1' })
    call dein#add('wikimatze/tocdown', { 'rev': 'v.1.0.1' })
    call dein#add('xolox/vim-misc', { 'rev': 'v1.17.6' })
    call dein#add('xolox/vim-notes', { 'rev': 'v0.33.4' })
    call dein#add('matze/vim-move', { 'rev': 'v1.3' })
    call dein#add('matze/vim-tex-fold', { 'rev': 'v1.3' })
    call dein#add('mbbill/undotree', { 'rev': 'rel_5.0' })
    call dein#add('reedes/vim-lexical', { 'rev': 'v1.1' })
    
    " Commit on Oct 11, 2016
    call dein#add('rhysd/clever-f.vim', { 'rev': '1f22df' }) 
    " Commits on Feb 12, 2016
    call dein#add('vim-ruby/vim-ruby', { 'rev': '666adb5' })
    " Commits on Apr 26, 2016
    call dein#add('scrooloose/nerdtree', { 'rev': '35c8591' })
    
    "call dein#add('Shougo/vimproc.vim', { 'rev': '35c8591', 'build': 'make' })
    call dein#add('danchoi/ri.vim', { 'rev': 'v1.2', 'on_ft': 'ruby' })
    
    " https://github.com/Shougo/dein.vim/issues/74
    call dein#add('junegunn/fzf.vim', { 'depends': 'fzf' })
    call dein#add('junegunn/fzf', { 'tag': '0.12.1', 'build': './install', 'rtp': '' })
    
    if has('lua')
      call dein#add('Shougo/neocomplete.vim', { 'rev': '81d39635' })
    endif
    
    " Required:
    call dein#end()
    
    " Required:
    filetype plugin indent on
    
    " If you want to install not installed plugins on startup.
    if dein#check_install()
      call dein#install()
    endif
    
    "End dein Scripts-------------------------
    
    let g:neosnippet#expand_word_boundary = 1
    
    " if has('lua')
    "   Plug 'Shougo/neocomplete.vim'
    " endif
    "
    I have the feeling, that the plugins are not installing async mode (like in plug.vim). What I'm missing.
    Matthias Günther
    @wikimatze
    The solution is to call dein#check_install() manually and not on startup.
    Shougo
    @Shougo
    I have the feeling, that the plugins are not installing async mode (like in plug.vim). What I'm missing.