These are chat archives for Shougo/dein.vim

28th
Feb 2016
Wang Shidong
@wsdjeg
Feb 28 2016 02:42
call dein#update(['dein.vimtest']) if use a name which does no exist ,dein will shou error
Shougo
@Shougo
Feb 28 2016 03:05
Thank you. Fixed.
Shougo
@Shougo
Feb 28 2016 04:09
I have added job asynchronous installer in dein.vim.
Wang Shidong
@wsdjeg
Feb 28 2016 04:41
I find :echo dein#get_log() does not work in neovim
I have added job asynchronous installer in dein.vim.
thanks a lot,just tried
Shougo
@Shougo
Feb 28 2016 05:03
I cannot reproduce it.
Please describe the reproduce ways
Wang Shidong
@wsdjeg
Feb 28 2016 05:05
just use :call dein#update() and :echo dein#get_log(),ok I will try more time
Shougo
@Shougo
Feb 28 2016 05:06
I think the asynchronous install is not finished.
If it is not finished, it will return empty string.
Wang Shidong
@wsdjeg
Feb 28 2016 05:06
I use seconed func after [dein] Runtimepath updated: (2016/02/28 13:06:33)
but in vim it works well
Shougo
@Shougo
Feb 28 2016 05:25
Fixed
Please update dein.vim
Wang Shidong
@wsdjeg
Feb 28 2016 05:29
thank,
may I ask you a question,but it is not about dein?
Shougo
@Shougo
Feb 28 2016 05:30
What's the question?
Wang Shidong
@wsdjeg
Feb 28 2016 05:32
about sort a list, and to implement this feature, artur-shaik/vim-javacomplete2#207
and I think I need add something here
https://github.com/artur-shaik/vim-javacomplete2/blob/master/autoload/javacomplete/imports.vim#L185
I need use sort(list,'i',Mycomparefucn)
Shougo
@Shougo
Feb 28 2016 05:36
Yes, you must write the compare function.
The function generates the prefix and compare it.
You can do it
Wang Shidong
@wsdjeg
Feb 28 2016 05:38
I wil try do it,
thanks a lot
Wang Shidong
@wsdjeg
Feb 28 2016 06:32
hi @Shougo I have implement that feature
Shougo
@Shougo
Feb 28 2016 06:33
:+1:
Wang Shidong
@wsdjeg
Feb 28 2016 06:33
default sort is ['java.', 'javax.', 'com.', 'org.', '.net']
Wang Shidong
@wsdjeg
Feb 28 2016 07:29
hi does dein.vim support after/ plugin?
Shougo
@Shougo
Feb 28 2016 08:13
Yes
Wang Shidong
@wsdjeg
Feb 28 2016 08:32
I just tried https://github.com/benizi/vim-automkdir but does not work
call dein#add('benizi/vim-automkdir')
Shougo
@Shougo
Feb 28 2016 08:45
Fixed.
Wang Shidong
@wsdjeg
Feb 28 2016 08:45
thanks
my vim now only 600ms
Shougo
@Shougo
Feb 28 2016 08:49
Dark power!
I think you can save the time more.
Wang Shidong
@wsdjeg
Feb 28 2016 08:50
what is the max value of g:dein#install_max_processes
Shougo
@Shougo
Feb 28 2016 08:50
You should not increase the value.
It seems github's attack.
Wang Shidong
@wsdjeg
Feb 28 2016 08:52
I'm sorry, I did not realize,so I just let it be 8
Shougo
@Shougo
Feb 28 2016 08:52
vim-plug's default value is too high.
Wang Shidong
@wsdjeg
Feb 28 2016 08:53
8 is enough
Shougo
@Shougo
Feb 28 2016 08:54
vim-plug is 16...
Wang Shidong
@wsdjeg
Feb 28 2016 09:02
func! Openpluginrepo()
    try
        exec "normal! ".'"ayi'."'"
        exec 'OpenBrowser https://github.com/'.@a
    catch
        echohl WarningMsg | echomsg "can not open the web of current plugin" | echohl None
    endtry
endf
func! Update_current_plugin()
    try
        exec "normal! ".'"ayi'."'"
        exec 'call dein#update(["' . split(@a,'/')[1] . '"])'
    catch
        echohl WarningMsg | echomsg "can not open the web of current plugin" | echohl None
    endtry
endf
I use this two func open firefox and update
Wang Shidong
@wsdjeg
Feb 28 2016 15:42
will lazy load do UpdateRemotePlugins?