roxma / nvim-completion-manager

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

How to disable the plugin in some specific buffers? #44

Closed theFool32 closed 7 years ago

theFool32 commented 7 years ago

For example, I don't wanna it works on Unite file.

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

or

simply use cm#disable_for_buffer() When entering Unite buffer

roxma commented 7 years ago

I'll tweak the default setting of NCM based on buftype