-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
nvim source deoplete/util.vim slow #500
Comments
It is not deoplete/util.vim. And the 200ms loading is: |
|
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. |
If deoplete initialization is not asynchronous, deoplete will block your input. |
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! |
OK. Reproduced. It is bug. I will fix it. Please create new issue for it. |
Hello @Shougo, thanks for agreeing to look into this issue again. As you have requested, I have now opened #508 to document the issue that you have confirmed is a bug. 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. |
Don't mind. I had not known the issue. |
Problems summary
nvim source deoplete.nvim/autoload/deoplete/util.vim file slow, up to 200ms
Expected
it should be more fast
Environment Information
deoplete version(SHA1): d77939d
OS: MacOS Sierra 10.12.5
neovim version: v0.2.0
:CheckHealth
result(neovim ver.0.1.5-452+):Provide a minimal init.vim with less than 50 lines (Required!)
The reproduce ways from neovim starting (Required!)
nvim --startuptime vimstartuplog
My Startuplog
The text was updated successfully, but these errors were encountered: