I use use COC and Delimitmate. In order to use the auto import of COC, you need to add something like this to your init.vim
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
This allows you to use ENTER to select the currently highlighted item and to auto import it. However, this configuration overrides Delimitmate’s expand on CR…
I use use COC and Delimitmate. In order to use the auto import of COC, you need to add something like this to your init.vim
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
This allows you to use ENTER to select the currently highlighted item and to auto import it. However, this configuration overrides Delimitmate’s expand on CR…Suggestions?