Removed coc refresh

This commit is contained in:
Marcin Woźniak 2021-10-26 13:31:26 +02:00
parent 299f1fa916
commit 9f03f53151

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()