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
High CPU usage #207
Comments
It is feature. Unfortunatelly, in Windows environment, Vim is slow. |
You can initialize neocomplete when starting. call neocomplete#initialize() |
So your recommendation is to have the following in my vimrc?
and remove:
Or what is the proper way to do it? The docs say:
So I'm pretty sure that the problem is not a Vim issue but a neocomplete issue related with the following three lines:
And in particular with the last line (that calls the function): if I remove it |
Sorry, I cannot help you. I think it is initialize feature. |
I did some more testing and apparently specifying a
However I don't understand why this seems to fix it. |
In default, neocomplete uses keyword pattern( |
So neocomplete's
but in the case of dictionary there is no CPU usage problem and no need to specify a |
It is from |
Thanks for the reply. I see that you finally changed the default pattern. My problem however seems to be with
However if I don't add
|
Is it latest version? |
I'm using the latest version. If I don't add
then the command |
OK, I fixed it. |
Thanks Shougo. I have one more question. If, for instance, if I don't include:
then the command |
Yes, it is feature. Because |
Ahhh okok. However I think this is not a good feature. I think that |
Hello Shougo. Have you had a chance to read and reconsider what I said in my last comment? Thanks in advance. |
Yes, I know your comment. I can implement it. But I have not much time. |
Thanks! No need to hurry at all. I was just wondering if you had read it. |
I recently noticed that my computer becomes slow when editing files with Vim and I think the problem might be with neocomplete. In the following gif you will see that if I start Vim with a minimal vimrc (attached after the GIF), open that vimrc file and get into insert mode then my CPU usage increases to more than 30%. I'm using Kaoriya GVIM 64-bit version (227 patches) and I build vimproc with MinGW64.
This is the minimal vimrc:
I did some profiling which you can download here
The text was updated successfully, but these errors were encountered: