Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long startup time when using NeoVim #97

Closed
bennyyip opened this issue Dec 19, 2017 · 0 comments
Closed

Long startup time when using NeoVim #97

bennyyip opened this issue Dec 19, 2017 · 0 comments
Labels

Comments

@bennyyip
Copy link
Contributor

Platform:
Arch Linux
NeoVim 0.2.2
Vim 8.0.1397

vimrc:

let s:is_win = has('win32')
let $v = $HOME.(s:is_win ? '\vimfiles' : '/.vim')

call plug#begin('$v/bundle')
let g:plug_window  = 'enew'
let g:plug_pwindow = 'vertical rightbelow new'
Plug 'tweekmonster/startuptime.vim', { 'on': 'StartupTime' }
Plug 'Yggdroot/LeaderF', { 'do': './install.sh' }

call plug#end()

Problem:
LeaderF takes about 320ms to start while only 0.054ms in Vim. Most of the time used is in opening buffers.

opening buffers (319.884)~
319.755   LeaderF >
	307.832   /home/ben/.vim/bundle/LeaderF/autoload/leaderf.vim
	11.924    /home/ben/.vim/bundle/LeaderF/autoload/lfMru.vim
<

The full log is here.

Yggdroot added a commit that referenced this issue Dec 21, 2017
@Yggdroot Yggdroot added the bug label Dec 21, 2017
Yggdroot added a commit that referenced this issue Dec 21, 2017
Yggdroot added a commit that referenced this issue Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants