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
functionand hitting enter -
Open a blank example python file with
:e example.py -
Trigger a YCM completion first by typing
import jsonand then on the next linejson.loads -
Go back to the original
example.vimbuffer with:b # -
Type
functo start the completion, hit TAB to go down to the first results ("function") and hit ENTER