Autoformat tags on "Enter"
Opened this issue · 3 comments
timsofteng commented
MoxHe commented
I find a way to work around with it if you are using coc for autocompletion.
Put this in your vimrc:
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm() : "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
timsofteng commented
I find a way to work around with it if you are using coc for autocompletion.
Put this in your vimrc:
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm() : "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
Unfortunately I'm not using coc now.
Vanillma commented