-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Slight flicker due to unnecessary re-parse. #485
Comments
It's not related to the issue, but since |
I have to admit I was unaware of the existence of |
I knew |
I've already changed |
Previously we would do it on every CursorHold, buffer changed or not. Fixes #485.
I've pushed a commit to the @crashmaster These two changes will probably not resolve your problem which is not caused by the reparse on CursorHold but by the diagnostic update (see To resolve your flickering issue, you have two options:
I never get the flicker issue with latest Syntastic in gvim or console vim, so one or the other should fix this for you. |
I just switch to the void function_name()
{
struct test_t t = {{.i = 5}};
struct test_t i = {{.c = '4'}};
stru
/* ^^^ */
printf("%p\n", &t);
printf("%p\n", &i);
} after the I don't know if I explained myself well :( |
@vheon Thanks for testing it out. I noticed this myself and it's shitty. I'm reverting the implementation of The reason why |
@Valloric I suspected about |
@vheon No, the |
@Valloric Thanks a lot and greetings! |
Hello!
I've read the FAQ point about this issue, I have the latest versions both from YCM and syntastic (yes, I'm using that as well).
I still experience slight flicker every time when moving the cursor after the update time (2s) is up.
Wouldn't it be a good approach to update (recompile) only, when there were changes in the actual file?
And for that using this vim mechanism:
According my quick'n'dirty changes it works, I only had issues with multiple buffers (somehow the newly opened buffer's last_change variable was not initialized, weird), anyway I guess it was because of my lack of vim scripting knowledge...
What is your opinion about this?
Thanks a lot, and YCM is an awesome tool!
uname -a:
Vim version:
The text was updated successfully, but these errors were encountered: