-
Notifications
You must be signed in to change notification settings - Fork 35
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
Any way to save file asynchronously? #56
Comments
@qsdrqs Hello! Thank you for your question! Unfortunately, I'm not able to support this project anymore. But the source code of the plugin is very simple. It would be great if you try to implement and test the feature you asked by yourself. Please, create a PR if it will work. Have a good day! |
Ok, I will have a try soon. |
Hey, I was having some issues with this with respect to 2 usecases:
A little bit of research seems to indicate that One way I could think of, based on very little vimscript knowledge and not very well researched atm though, to accomplish this asynchronous write, is to use vim's |
@Frydac great comment! |
Hello Frydac! I have made some experiments about I asked for a vim community about this question. However, They told me that there is no way to save file in async way because it would be unsafe if people change their file when saving. Thus there may be not any way to implement it. Sorry about that. |
Hello, I use
InsertLeave
to trigger the autosave function. However, the cursor always stuck when I leave insert mode.Since vim 8 and neovim use
job_start()
andjobstart()
to run command in asynchronous way, so I'm wondering is there any way in asynchronous can help for this problem?The text was updated successfully, but these errors were encountered: