Closed Angluca closed 7 months ago
ooooer I know,
I've auto-Pair plugin set <cr>
, But if haven't it can't auto complete pairs .T_T
How to custom set pair-complete use vimcomplete option, I'm a newbie .
Maybe ok now, I've set autoPairReturn use <c-cr> / <c-s-cr>
Do something like this:
:inoremap <expr> <buffer> <cr> pumvisible() ? "\<c-y>\<cr>" : "\<your-outopair-keymap>\<cr>"
That's not a bug though! You should unmap
<cr>
in your .vimrc. See: https://github.com/girishji/vimcomplete/issues/41