roxma / nvim-completion-manager

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

Disable ~cwd in file path completion #140

Closed kristijanhusak closed 6 years ago

kristijanhusak commented 6 years ago

Hi,

how can i disable ~cwd suggestions when doing file path completion? It gives me too much suggestion that i don't want to use here. Here's an example:

screenshot

I don't want to see api, app and web here.

Edit: Also, is there a way to remove or shorten the autocomplete menu source? Example:

screenshot2

I would like to remove Tag: lib/infrastructure/cache/memory_cache.js, or at least shorten it to Tag or something like that.

Thanks!

roxma commented 6 years ago

Unfortunately they're not customizable currently.

Possible solution:

kristijanhusak commented 6 years ago

Should i write that on python or vimscript level?

roxma commented 6 years ago

It should be python, for async.

roxma commented 6 years ago

Switching to ncm2 https://github.com/ncm2/ncm2, I think https://github.com/ncm2/ncm2-highprio-pop kind of solves this issue.

Closing