You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 27, 2018. It is now read-only.
After you've reproduced the error, check the contents of the log files
generated by NCM on current directory, especially nvim.log_py3_cm_core.
If no log file is generated, and you get the message
nvim-completion-manager core channel terminated, then you have to try
starting NCM manually, and see what's happaning. Follow these steps:
If you are using vim-hug-neovim-rpc on vim8, use :echo neovim_rpc#serveraddr() to get the rpc server address. (eg.
127.0.0.1:37744).
If you're on neovim, use :echo v:servername to get the rpc server
address. (eg. /tmp/nvim5UoeSg/0)
Find the pythonx/cm_start.py in NCM's installation directory, then you
can start it manually.
If NCM is working, but some completion source is broken. For example,
python completion is not working, you need to check the contents of the file
nvim.log_py3_cm_sources.cm_jedi. If this log file is not generated, the
python completion source may have failed to start somehow. Follow these steps
to start it manually:
Find the rpc server address as before.
Find the completion source name via :echo g:_cm_sources or simply
:echo keys(g:_cm_sources). For python completion, It is cm-jedi, then
use :echo g:_cm_sources['cm-jedi']['channel']['module'] to get the module
name, which would be cm_sources.cm_jedi.
Use the source name and the module name to start the source manually,