[nvim] Hackily fix completion selection not working

This commit is contained in:
Alyxia Sother 2023-09-25 13:48:51 +02:00
parent ba41b19544
commit c69529de69
No known key found for this signature in database
GPG Key ID: 01E16C4E775A37E4
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ nnoremap <C-t> :NERDTreeToggle<CR>
nmap <silent> <F3> <Plug>(coc-codeaction-line)
xmap <silent> <F3> <Plug>(coc-codeaction-selected)
inoremap <expr> <cr> coc#pum#visible() ? coc#_select_confirm() : "\<CR>"
inoremap <expr> <C-CR> coc#pum#visible() ? coc#pum#confirm() : "\<CR>"
inoremap <silent><expr> <TAB>
\ coc#pum#visible() ? coc#pum#next(1):