-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Vim hangs on saving when the package is large #356
Comments
Are you using any other vim plugins, such as syntastic ? They are compiling the files on every save which causes this. Otherwise |
Yes, I do. |
You're welcome :) |
If anyone else ends up here like I did, I had the same problem and added a shortcut for |
Also had this same problem with https://github.com/roxma/nvim-completion-manager, wasn't only on saves, it was everytime I opened files. |
I suspect this may be due to gocode. Can you give #1697 a try to see if it mitigates the hangs when opening files? |
Every time I edit a file in the Go toolchain like /src/cmd/internal/gc/lex.go, it hangs for seconds on saving the file and keeps consuming 100% CPU at the same time. I can find the program 6g working hard in the background by using the 'top' command. The problem happens on both Ubuntu (I forget the version and I can't reach it right now) and MacOSX 10.10.2.
:let g:go_fmt_autosave=0 doesn't fix the problem as I expected. I would like to know what other actions would be taken on file saving.
The text was updated successfully, but these errors were encountered: