Skip to content
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

commit d2818a61 leads vim response very slowly on Windows #73

Open
roachsinai opened this issue Apr 6, 2022 · 5 comments
Open

commit d2818a61 leads vim response very slowly on Windows #73

roachsinai opened this issue Apr 6, 2022 · 5 comments

Comments

@roachsinai
Copy link

roachsinai commented Apr 6, 2022

GVim sometimes response after more than one seconds, and the key I pressed can show on rightbottom on Gvim like below:

image

Releated commit is d2818a6

Revert to d2818a6^, above problem disappear.


Platform: Win11, vim 64-bit.

@tpope
Copy link
Owner

tpope commented Apr 6, 2022

Can you narrow down the cause? If you comment out the rename, does the problem go away?

@roachsinai
Copy link
Author

Yes, comment out the rename at line 85, the problem go away.

@tpope
Copy link
Owner

tpope commented Apr 7, 2022

Maybe it's getting hung up overwriting the existing file? Maybe try adding a delete(g:this_obsession) before it? (Although that kind of defeats the purpose of the change.)

@roachsinai
Copy link
Author

Just wanna make sure that when overwrite the existing file, does it was opened? In windows you can't move/delete an opened file.

@tpope
Copy link
Owner

tpope commented Apr 7, 2022

The file in g:this_obsession shouldn't be open at that point, no.

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

No branches or pull requests

2 participants