roxma / nvim-completion-manager

:warning: PLEASE USE https://github.com/ncm2/ncm2 INSTEAD
MIT License
917 stars 49 forks source link

get “nvim-completion-manager core channel terminated.” everytime i edit a file in terminal env. #213

Closed lgy87 closed 6 years ago

lgy87 commented 6 years ago

NVIM v0.2.2 Build type: Release LuaJIT 2.0.5 zsh 5.4.2 (x86_64-apple-darwin17.3.0) Python 3.6.4


a b
Shougo commented 6 years ago

You should upload more detailed executed command from neovim starting.

lgy87 commented 6 years ago

@Shougo thank you for your reply.

sorry, i am a newbie here. but there is nothing special else i did.

  1. nvim
  2. :terminal
  3. i to enter the insert mode
  4. nvim abc to open a file

do you know where i can get the log of 'ncm', maybe it will help.

Shougo commented 6 years ago

I have tested, but I cannot reproduce the problem.

It works well without :terminal?

lgy87 commented 6 years ago

yes, everything is ok without :terminal.

i will disable the plugins one by one, to make sure there isn't conflict between ncm and others.

lgy87 commented 6 years ago

@Shougo Nope. I disabled all plugins but ncm. the exception info is still there.

c
Shougo commented 6 years ago

There's no guarantee that this plugin will be compatible with other completion plugin in the same buffer. Use let g:cm_smart_enable=0 and call cm#enable_for_buffer() to use this plugin for specific buffer.

I think you should enable ncm on specific buffer.

lgy87 commented 6 years ago

@Shougo Yes, i changed let g:cm_smart_enable=1 to let g:cm_smart_enable=0, the exception message has gone.

Thanks a lot. 👍