Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

delay before deoplete starts working #7

Open
ExpandingMan opened this issue Apr 3, 2017 · 2 comments
Open

delay before deoplete starts working #7

ExpandingMan opened this issue Apr 3, 2017 · 2 comments

Comments

@ExpandingMan
Copy link

There is a delay of up to about 30s before the cache is made and deoplete starts working. This would seem like a non-issue (and probably unavoidable), except for the fact that deoplete doesn't seem to work at all until the cache is made, which kind of drives me crazy. On a possibly related note, shouldn't jltag.jl be precompiled?

Currently (on 0.6) I am getting a bunch of warnings related to the fact that the Julia coroutines API have changed. This may contribute to the problem since Julia warnings annoyingly seem to slow things down somehow.

@oxinabox
Copy link
Member

oxinabox commented Apr 4, 2017

Are you getting this, every time you run it,
or only the first time you open a document?
It should only be the first time.

I will fix the 0.6 warnings, at some point when 0.6 becomes the stable release.
As part of this I will decrease the amount of information, which should improve loading times.
(Possibly I will also switch to JSON format for the cache.)

Precompiling jltag.jl will save <5 seconds, and will only save that time once.

@ExpandingMan
Copy link
Author

It is only the first document. I guess it's partially my fault, since I use tmux, sometimes I prefer tmux panes over vim panes and open multiple instances of vim unnecessarily. Still, wouldn't it be easy to precompile it? I guess maybe not, I only ever precompile modules, and I don't really know what's involved in doing just the one file.

Also, it would be nice to have a way to disable all the info messages that go by every time you save. Most completers are silent.

Anyway, thanks for your help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants