feat: complete coc with enter (for longer suggestions)
This commit is contained in:
parent
13958c9584
commit
abc0d8d3f1
@ -198,3 +198,5 @@ inoremap <silent><expr> <S-Tab>
|
|||||||
\ <SID>check_back_space() ? "\<S-Tab>" :
|
\ <SID>check_back_space() ? "\<S-Tab>" :
|
||||||
\ coc#refresh()
|
\ coc#refresh()
|
||||||
|
|
||||||
|
" select completion items with enter
|
||||||
|
inoremap <silent><expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
|
||||||
|
Reference in New Issue
Block a user