-
Notifications
You must be signed in to change notification settings - Fork 36
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
Omnicomplete writes to disk when selecting suggestion - plays badly with YCM #91
Comments
That's a valid issue. It should not happen. We used to save when importing identifiers, but now it happens through vim rather than letting |
That seems to be related, and still an issue for me. Here's a few lines from the message log (
Rather than wonder if importIdentifier should be called during autocomplete, I'll ask about the fact that importIdentifier makes a call to |
Yes, but we might not need this call any more. There are various other places where we save the buffer. For example when |
I'm suffering from this issue too; kinda making psc-ide unusable tbh. Setting EDIT: Looks like some sort of automation is also automatically saving when I exit insert mode?? This whole hijacking my editor thing doesn't really work with my workflow. I'd much rather set up any autocmds that I need myself (though I understand that good defaults are nice) |
I'm also having major trouble with this and YCM ... was driving me nuts for hours since the bug was something like, editing non-purescript files (like typescript) would trigger a webpack reload when various keys are pressed in insert mode. Yeah, really... Was going to open a separate issue but it sounds highly related to this |
I'm not sure if this is intended or not, and I'm new to vim so I'm not sure if this is a common or even unavoidable thing, but: when omnicompleting, the buffer gets written to disk whenever selecting an omnicomplete suggestion. This is bad in its own right, but it also plays really badly with YouCompleteMe, since in that case, it writes to disk every time a character is typed which caused an autocomplete suggestion.
I'd like to try to fix this but I would first like to know the rationale for writing to disk in the first place with omnicomplete, so I can get some direction.
The text was updated successfully, but these errors were encountered: