Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Shubham Chaudhary
    @5hubh4m
    Couldn't there be a dein#unsource('plugin_name') to disable a plugin after it's sourced? I'm trying to have YouCompleteMe activated for clang files only, as it's not much good for me with other languages. I would like the plugin to be disabled for all FileTypes except 'c' and 'cpp'.
    Shougo
    @Shougo
    If it is sourced, cannot be disabled
    Because Vim cannot restore the state.
    It is impossible!
    Because Vim cannot restore the state.
    Disable certain filetypes are YouCompleteMe work.
    Of course deoplete can do it.
    Disable certain filetypes are YouCompleteMe work.
    Can you restore the clock?
    To unload the plugin is like it.
    Shougo
    @Shougo
    To unload the plugin is like it.
    Shubham Chaudhary
    @5hubh4m
    Thanks, I
    'll figure a way around. dein is awesome, BTW!
    Peter Brooks
    @pbrooks
    Hey guys, what should the installer directory be on OSX?
    Mike Hartington
    @mhartington
    I just use
      if (!isdirectory(expand("$HOME/.config/nvim/repos/github.com/Shougo/dein.vim")))
        call system(expand("mkdir -p $HOME/.config/nvim/repos/github.com"))
        call system(expand("git clone https://github.com/Shougo/dein.vim $HOME/.config/nvim/repos/github.com/Shougo/dein.vim"))
      endif
    and then call dein#add('Shougo/dein.vim')
    Wang Shidong
    @wsdjeg
    @Shougo can I call check install after vim startup?
    I do not want the install process happen in terminal
    should I use autocmd VimEnter?
    Shougo
    @Shougo
    Yes.
    If it is not on vim_starting state.
    Wang Shidong
    @wsdjeg
    @Shougo I just add a simple fix in SpaceVim, use slilent! let flag = dein#check_install() to get the value, if true, add an autocmd of VimEnter.
    maybe dein#check_install() could accept argv to enable silent mode.
    Shougo
    @Shougo
    I don't want to add the argument.
    Because you can ignore by silent.
    Wang Shidong
    @wsdjeg
    ok, I can do it, it is easy.
    timothy eichler
    @timeyyy
    Sometimes when i install a plugin, it is cloned using https not ssh, i then get prompted for my github username and i have to pkill nvim anyone know how to stop this?
    Shougo
    @Shougo
    The repository name is wrong.
    timothy eichler
    @timeyyy
    True..
    Thanks
    Alex
    @whitecolor
    Is it possible to get list of loaded plugins?
    Shougo
    @Shougo
    Denite dein
    or
    Unite dein
    Alex
    @whitecolor
    Not sure that I get how to do this, is there a command?
    or function
    Shougo
    @Shougo
    You must install unite.vim or denite.nvim
    You can use dein#is_sourced()
    You can get all plugins list by dein#get()
    Alex
    @whitecolor
    Thanks dein#is_sourced() works fine for me
    Alex
    @whitecolor
    How to imperatively update from repo already installed plugin?
    Shougo
    @Shougo
    You can use dein#check_update()
    Alex
    @whitecolor
    ok thanks, and are there commands to remove and reinstall plugin?
    Shougo
    @Shougo
    dein#reinstall() is available
    Alex
    @whitecolor
    thanks)
    and removal?
    Shougo
    @Shougo
    For remove, please read FAQ.
    timothy eichler
    @timeyyy
    When i do dein#update() my neovim becomes very unresponsive, is this a bug?
    my fan on my laptop starts going really loud as well :/, maybe it's just my laptop is bad???