Coc.nvim: Disable autocompletion in the command-line window.

Created on 23 Jul 2019  路  2Comments  路  Source: neoclide/coc.nvim

Is your feature request related to a problem? Please describe.

I want to disable autocompletion in the command-line-window since it's broken with my setup.

I get the following error:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits: wincmd k

Describe the solution you'd like

An option to disable completion in the command-line-window.

Most helpful comment

Add autocmd FileType vim if bufname('%') == '[Command Line]' | let b:coc_suggest_disable = 1 | endif in your vimrc

All 2 comments

Add autocmd FileType vim if bufname('%') == '[Command Line]' | let b:coc_suggest_disable = 1 | endif in your vimrc

Just for a reference, autocmd CmdwinEnter * let b:coc_suggest_disable = 1 has the same effect for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FrankLA0203 picture FrankLA0203  路  3Comments

zhou13 picture zhou13  路  3Comments

rkulla picture rkulla  路  3Comments

chemzqm picture chemzqm  路  3Comments

cvlmtg picture cvlmtg  路  3Comments