girishji / vimcomplete

Async autocompletion for Vim.
MIT License
111 stars 4 forks source link

RFE: please consider adding an option to disable automatic `<CR>` maps #70

Closed intelfx closed 1 month ago

intelfx commented 1 month ago

For the purposes of interoperability with other plugins that define or desire <CR> maps (e.g. Thyrum/vim-stabs), consider adding a global option to disable automatic <CR> maps, similar to the <TAB> one:

let g:vimcomplete_cr_enable = 0

In addition to that, it would be nice if you could provide guidance on how to define those maps manually in an interoperable way, similar to the way coc.nvim does in its README: https://github.com/neoclide/coc.nvim/blob/c5ffbb3c6b748d3359d99c4452ed74a80d293194/README.md?plain=1#L113-L127