[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
1 changed files with 3 additions and 0 deletions

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>