try switch to lsp-zero for nvim
This commit is contained in:
+9
-9
@@ -17,16 +17,16 @@ nmap <silent> gy <Plug>(coc-type-definition)
|
||||
nmap <silent> gi <Plug>(coc-implementation)
|
||||
nmap <silent> gr <Plug>(coc-references)
|
||||
|
||||
" " Use K to show documentation in preview window.
|
||||
" nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||
" Use K to show documentation in preview window.
|
||||
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||
|
||||
" function! s:show_documentation()
|
||||
" if CocAction('hasProvider', 'hover')
|
||||
" call CocActionAsync('doHover')
|
||||
" else
|
||||
" call feedkeys('K', 'in')
|
||||
" endif
|
||||
" endfunction
|
||||
function! s:show_documentation()
|
||||
if CocAction('hasProvider', 'hover')
|
||||
call CocActionAsync('doHover')
|
||||
else
|
||||
call feedkeys('K', 'in')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
" Symbol renaming.
|
||||
|
||||
Reference in New Issue
Block a user