Remove autoseleting first completion
This commit is contained in:
		@@ -96,11 +96,6 @@ function! s:check_back_space() abort
 | 
			
		||||
  return !col || getline('.')[col - 1]  =~# '\s'
 | 
			
		||||
endfunction
 | 
			
		||||
 | 
			
		||||
" 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()
 | 
			
		||||
                              \: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
 | 
			
		||||
 | 
			
		||||
" Use tab for trigger completion with characters ahead and navigate.
 | 
			
		||||
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
 | 
			
		||||
" other plugin before putting this into your config.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user