Noticed YouCompleteMe not working in my Vim and got this message everytime in status bar when Vim starts, so noted the solution.

TL;DR

cd ~/.vim/bundle/YouCompleteMe  
./install.py --clang-completer  

Preface

  • YouCompleteMe doesn't work anymore in my Vim.
  • Got The ycmd server SHUT DOWN (restart with ':YcmRestartServer') in status bar everytime Vim starts.
  • :YcmRestartServer always failed.
  • :YcmDebugInfo shows the system path of YouCompleteMe stderr log.
  • $ less /tmp/ycmd_52159_stderr_m7n92px1.log
  • It shows ModuleNotFoundError: No module named 'ycm_core'

Solution

cd ~/.vim/bundle/YouCompleteMe  
./install.py --clang-completer  

Reinstall YouCompleteMe with Clang completer works.


References


Share


Donation

如果覺得這篇文章對你有幫助, 除了留言讓我知道外, 或許也可以考慮請我喝杯咖啡, 不論金額多寡我都會非常感激且能鼓勵我繼續寫出對你有幫助的文章。

If this blog post happens to be helpful to you, besides of leaving a reply, you may consider buy me a cup of coffee to support me. It would help me write more articles helpful to you in the future and I would really appreciate it.


Related Posts