Add coc.nvim next/previous diagnostic mappings

This commit is contained in:
Kenneth Benzie 2021-04-27 17:34:54 +01:00
parent 455c1f1b94
commit 05b047f374

View File

@ -5,6 +5,8 @@ nmap <silent> <leader>gt <Plug>(coc-type-definition)
nmap <silent> <leader>sd <Plug>(coc-diagnostic-info)
nmap <silent> <leader>gr <Plug>(coc-references)
nmap <silent> K :call do#show_documentation()<CR>
nmap <silent> <C-n> <Plug>(coc-diagnostic-next)
nmap <silent> <C-p> <Plug>(coc-diagnostic-prev)
if has('nvim')
" Make nvim :terminal more like vim :terminal