Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    ranranking
    @ranranking
    this is my log file. The first one was homebrew version with plugins, second one was homebrew version without plugins, third one was source code built version without plugins, fourth one was source code built version with plugins. and it was 90ms now
    Shougo
    @Shougo
    Hm
    I think your Vim is debug enabled. It is slower.
    s/Vim/neovim
    filetype.vim time is longer.
    +5ms
    Your neovim 1.5times slower
    It seems not dein problem
    ranranking
    @ranranking
    Oh, maybe that's because I installed the nightly versions before
    Thank you for the help!
    Wang Shidong
    @wsdjeg
    2016-03-02 20-25-38
    Ondřej Slámečka
    @OndrejSlamecka
    Hello. I want to thank you for this great plugin manager!
    I also want to ask a question :-) I have 'call dein#add('sinakarimi/dracula-theme', {'rtp': 'vim'})' but the theme is just not used, when I turn it on manually it works.
    Ondřej Slámečka
    @OndrejSlamecka
    (manually == I have it in nvim/colors and run 'color dracula' in init.vim)
    Ondřej Slámečka
    @OndrejSlamecka
    Is it a bug or I did not configure dein correctly?
    Ondřej Slámečka
    @OndrejSlamecka
    Although without calling "color dracula" the scheme can be set through :colorscheme -- so this problem is probably somewhere else than dein.vim, sorry for being off topic here.
    Shougo
    @Shougo
    @OndrejSlamecka
    The theme is loaded after call dein#end().
    Is it a bug or I did not configure dein correctly?
    Not bug
    Shougo
    @Shougo
    Shougo/dein.vim#30
    I have tested the faster branch.
    You can test it.
    ranranking
    @ranranking
    how to use cache features?
    Wang Shidong
    @wsdjeg
    how about add the on_event feature? for example.lazy load some plugin when write buffer to a file.
    Shougo
    @Shougo
    how to use cache features?
    Please read the documentation
    how about add the on_event feature? for example.lazy load some plugin when write buffer to a file.
    I think it is not useful
    Please describe the advantage.
    Wang Shidong
    @wsdjeg
    such as syntastic,it is not useful for me ,if I just read files,but if I change file ,I need use `syntastic to find errors.
    it is different from neomake ,for neomake ,I can useautocmd bufwrite * neomake and on_cmd:neomake,but for syntastic,the plugin has autocmd in it's code ,I can not use autocmd myself
    Wang Shidong
    @wsdjeg
        call s:add('scrooloose/nerdcommenter',{'lazy' : 1 , 'on_map' : '<plug>NERDCommenter'})
        map <Leader>cc <plug>NERDCommenterComment
    Shougo
    @Shougo
    NERDCommenter uses autocommand
    So, you should use 'path': '.*'.
    Shougo
    @Shougo
    Related issue
    junegunn/vim-plug#441
    Wang Shidong
    @wsdjeg
    I will read more about path option,so vim-plug do not support lazy load nerdcommenter,but dein do.
    Shougo
    @Shougo
    I have added dein#check_clean() feature.
    ranranking
    @ranranking
    I have one question, when using dein#load_state() and dein#save_state(), and open neovim with no files, I can not use the update function. There would be some error. After I opened any files, I can then use the function. Is it because with the state function, I can not use hooks sources? or is it a bug?
    Shougo
    @Shougo
    Is it because with the state function, I can not use hooks sources? or is it a bug?
    It is intended behavior.
    ranranking
    @ranranking
    OK! I got it!
    Shougo
    @Shougo
    You must call dein#call_hook() manually if you need.
    I have one question, when using dein#load_state() and dein#save_state(), and open neovim with no files, I can not use the update function. There would be some error.
    Cannot use the update function?
    Please describe more.
    ranranking
    @ranranking
    Oh, I thought you were saying that the update function was related to the hook function.