-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Git branch slow on windows - nvim #26
Comments
I think this is important, syncronous commands can be quite slow. aw-watcher-vim already did shell commands prior to this change, but they did so asyncronously, so it did not have an impact on responsiveness. There is nothing more annoying than an unresponsive editor! I think that the branch detection should be made asyncronous as well. It's also a bit excessive to check git branch on pretty much every time you move the cursor. |
Totally agree with you @johan-bjareholt. It would be sufficient to get the branch on buffer change for instance and save it as a global variable instead. |
Maybe just checking every 10-60seconds (possibly configurable) and do it asynchronously would probably be good. Should be a bit more reliable than a buffer change. |
Ah, my bad. I can look into it this weekend. But I can't promise I'll solve it :) |
I can confirm this makes editing in vim totally unusable. |
@infokiller I agree, it was my bad to merge too eagerly. Reverted now, see #25 (comment) |
Thanks @ErikBjare for the quick fix! |
Hi,
I've noticed that the
systemlist()
call in line 110 of 6d2138e drastically slowed down my nvim; pretty much slow motion.bug.mp4
It's more an issue of neovim/windows than with this repo, so feel free to close.
The plugins works just fine on Arch :)
If anyone has a quick fix/idea other than disabling the branch function, I'd appreciate it.
The text was updated successfully, but these errors were encountered: