roxma/nvim-completion-manager

Support ‘smart’ filtering of autocomplete suggestons

Closed this issue · 1 comments

Hello, many IDEs (like those based on Intellij platform) or YouCompleteMe have ability of fast filtering autocomplete candidates by specifying only few letters.
For example in python code

import io
io.BI

would suggest me BytesIO, BufferedIOBase and so on, based on simple principle that all those words use PascalCase.
Those engines also work with snake_case, and os.gep would suggest get_exec_path.

It would be great to see similar ‘fuzzy’ filtering algorithm in NCM. :)

I've read documentation more thoroughly, and noticed there is already support for this.
let g:cm_matcher={'module': 'cm_matchers.abbrev_matcher', 'case': 'smartcase'}
Closing as irrelevant.