Removed coc refresh

This commit is contained in:
Marcin Woźniak 2021-10-26 13:31:26 +02:00
parent bedb5d0769
commit 2831e6d360
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -96,9 +96,6 @@ function! s:check_back_space() abort
return !col || getline('.')[col - 1] =~# '\s'
endfunction
" Use <leader .> to trigger completion.
inoremap <silent><expr> <leader>. coc#refresh()
" Make <CR> auto-select the first completion item and notify coc.nvim to
" format on enter, <cr> could be remapped by other vim plugin
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm()