Vim and Neovim have a prompt type of buffer which is used for getting input from plugins. So far, I've only interacted with it in the context of Telescope, and it seems to me mucomplete shouldn't be enabled on it. Here is how Telescope may look when filtering files.
It is possible to disable it by changing the mucomplete#auto#auto_complete() function:
fun! mucomplete#auto#auto_complete()
if &buftype isnot# 'prompt' && s:insertcharpre || mode(1) ==# 'ic'
let s:insertcharpre = 0
call mucomplete#auto_complete()
endif
endf
But maybe there's a better solution? It may also be the case that I am missing instances where mucomplete makes sense to be enabled on a prompt buffer
Vim and Neovim have a
prompt
type of buffer which is used for getting input from plugins. So far, I've only interacted with it in the context of Telescope, and it seems to me mucomplete shouldn't be enabled on it. Here is how Telescope may look when filtering files.It is possible to disable it by changing the
mucomplete#auto#auto_complete()
function:But maybe there's a better solution? It may also be the case that I am missing instances where mucomplete makes sense to be enabled on a prompt buffer