This gist demostrates the issue with a competing completion engine on filetypes where YCM is supposed to be blacklisted.
-
Enter the docker bug environment with:
docker run --rm -ti mikehearn/ycm-bug
-
Open an empty viml file with
vim example.vim
-
Start a coc.nvim completion in the file by typing
function
and hitting enter -
Open a blank example python file with
:e example.py
-
Trigger a YCM completion first by typing
import json
and then on the next linejson.loads
-
Go back to the original
example.vim
buffer with:b #
-
Type
func
to start the completion, hit TAB to go down to the first results ("function") and hit ENTER