roxma / nvim-completion-manager

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

Ctrl-L broken #127

Closed SevereOverfl0w closed 6 years ago

SevereOverfl0w commented 7 years ago

With auto-completion menu, Ctrl-L seems to not work. It works if I do <C-x><C-o> and then hit <C-l>.

Very frustrating for long completions with common prefix.

roxma commented 7 years ago

Try this option: let g:cm_completekeys = "\<Plug>(cm_omnifunc)"

NCM will use omnifunc instead of the complete() call.

roxma commented 7 years ago

Just notice <c-l> is also breaken for non-prefix match.

SevereOverfl0w commented 7 years ago

I think this workaround also causes minimum number of characters to be ignored.

roxma commented 7 years ago

I think this workaround also causes minimum number of characters to be ignored.

Could you elaborate?

SevereOverfl0w commented 7 years ago

I cannot seem to reproduce that behaviour now. I was somehow getting completion for, e.g. +. Will let you know if it happens again.