feat: complete coc with enter (for longer suggestions)

main
mandlm 2021-07-08 08:44:19 +02:00
parent 13958c9584
commit abc0d8d3f1
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 2 additions and 0 deletions

View File

@ -198,3 +198,5 @@ inoremap <silent><expr> <S-Tab>
\ <SID>check_back_space() ? "\<S-Tab>" :
\ coc#refresh()
" select completion items with enter
inoremap <silent><expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"