[nvim] Fix some coc complaints

This commit is contained in:
Alyxia 2022-09-25 11:21:30 +02:00
parent 75d79fc13c
commit d2f964c742
No known key found for this signature in database
GPG key ID: 01E16C4E775A37E4

View file

@ -6,6 +6,9 @@ nnoremap <C-t> :NERDTreeToggle<CR>
return !col || getline('.')[col - 1] =~ '\s'
endfunction
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 <silent><expr> <TAB>