Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
nvim source deoplete/util.vim slow #500
nvim source deoplete.nvim/autoload/deoplete/util.vim file slow, up to 200ms
it should be more fast
Provide a minimal init.vim with less than 50 lines (Required!)
call plug#begin('~/.config/nvim/plugged') Plug 'ctrlpvim/ctrlp.vim' Plug 'Shougo/deoplete.nvim' Plug 'zchee/deoplete-go' Plug 'Shougo/denite.nvim' Plug 'mileszs/ack.vim' Plug 'easymotion/vim-easymotion' Plug 'bling/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdcommenter' Plug 'plasticboy/vim-markdown' Plug 'Raimondi/delimitMate' Plug 'tpope/vim-repeat' Plug 'majutsushi/tagbar' Plug 'fatih/vim-go' Plug 'altercation/vim-colors-solarized' Plug 'tpope/vim-fugitive' Plug 'triglav/vim-visual-increment' Plug 'christoomey/vim-tmux-navigator' call plug#end() let g:solarized_visibility='low' syntax on set background=light colorscheme solarized let mapleader = "\<Space>" "airline let g:airline#extensions#branch#enabled = 1 let g:airline_powerline_fonts = 1 "easymotion map <Leader> <Plug>(easymotion-prefix) let g:EasyMotion_smartcase = 1 "ctrlp let g:ctrlp_working_path_mode = 'rw' let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$' let g:ctrlp_use_caching = 0 let g:ctrlp_cache_dir = $HOME.'/.local/.cache/ctrlp' "vim-go let g:go_fmt_command = "goimports" let g:go_highlight_functions = 1 let g:go_highlight_methods = 1 let g:go_highlight_fields = 1 let g:go_highlight_types = 1 set completeopt=menu,preview,longest inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>" let g:deoplete#enable_at_startup = 1 let g:deoplete#complete_method = "omnifunc" let g:deoplete#sources#go#gocode_binary = $GOPATH.'/bin/gocode' inoremap <expr><TAB> pumvisible()?"\<C-n>":"\<TAB>" inoremap <expr><S-TAB> pumvisible()?"\<C-p>":"\<TAB>"
The reproduce ways from neovim starting (Required!)
nvim --startuptime vimstartuplog
Hello @Shougo! Thanks for developing this plugin, I really like it. I know that you have already closed this issue. However, I am not able to follow the instructions that you posted 8 days ago and I thought it would be appropriate to ask for clarifications.
I would like to not have
As you know, I took these lines from the documentation for your plugin. However, I find that when I enter insert mode in Neovim none of the autocompletions ever appear. In fact, if I type `:call deoplete#enable()" in command mode and use tab-completion to see what is available, this command is not available.
For what it is worth, I have also tried to lazily load the plugin with
Any ideas about how to achieve the lazy loading of the plugin? I have looked in the help files and read all of the tutorials online and I could not find a solution to this issue. I am sure that there is something that I am overlooking and I hope that you can point it out to me. For the record, I am using
I can provide more details about these issues if you think that it would be helpful to you. Thank you for considering this issue further!
deoplete initialization is asynchronous. So it is not possible to popup the completion immediately.
Hi @Shougo! Okay, if I wait for a period of time then I can see functions when I type
I understand that the plugin is asynchronous and I would not want the blocking of my input. However, I would like to ultimately see the completion menus. I think that there is something that I am still not understanding in the documentation or your response.
Should the completion menus appear (at some point in the future) when I run Neovim with the two lines of code that are mentioned in the help file?
Thanks for any insights that you can provide!
referenced this issue
Jul 3, 2017
To ensure that my comments are complete, @Shougo, here is the other configuration that I mentioned previously. First, I followed the
Then, I later included these lines (again, directly modified from the
This approach will work for the second time that I enter insert mode in Neovim. That is, on the second time I enter insert mode I will always see the completions. However, as long as I keep typing in the first insert mode, I never seem to see the completions from
Again, thanks for this plugin! I really like it. I would appreciate it if you can show me what I am overlooking when it comes to loading this plugin in a lazy fashion.