You are not logged in.
After installing YouCompleteMe on a fresh system vim hangs on startup. It is unresponsive for minutes. I can actually type and eventually characters will come in. But it still lags for minutes. Removing the Youcompleme Bundle solves the issue. I can't really provide details since the installation was standard following the github repo and no errors were reported. top does not show any CPU hog nor memory hog. So I am puzzled. Is this some known issue?
Last edited by potuz (2021-06-15 08:55:02)
Offline
I do not use vim, but a short look at the wiki tells me thats this could be quite normal.
Troubleshooting
Remember that it might take some time for YouCompleteMe to generate a list of completion strings.The following commands are available for diagnostics:
:messages - show previous errors or messages from Vim
:YcmDiags
:YcmDebugInfo
Offline
That's not it, the hang happens on empty unnamed files where ycm should not be running
Offline
Solved this, it was that my firewall is too restrictive and was dropping the local connections to the server. It would be good to know if the port(s) that YouCompleteMe uses are stable so as to not have to punch the firewall for this user.
Offline