|
@ -298,7 +298,7 @@ nmap <silent> gi <Plug>(coc-implementation) |
|
|
nmap <silent> gr <Plug>(coc-references) |
|
|
nmap <silent> gr <Plug>(coc-references) |
|
|
|
|
|
|
|
|
" Use K to show documentation in preview window |
|
|
" Use K to show documentation in preview window |
|
|
nnoremap <silent> K :call <SID>show_documentation()<CR> |
|
|
|
|
|
|
|
|
nnoremap <silent> H :call <SID>show_documentation()<CR> |
|
|
|
|
|
|
|
|
function! s:show_documentation() |
|
|
function! s:show_documentation() |
|
|
if (index(['vim','help'], &filetype) >= 0) |
|
|
if (index(['vim','help'], &filetype) >= 0) |
|
|