1
0

Add CoC GoTo code navigation.

This commit is contained in:
2025-11-13 08:20:10 +01:00
parent f237920714
commit 28c0e1cc0d

View File

@@ -93,6 +93,12 @@ nmap <silent> ]f <Plug>(coc-fix-current)
" Symbol renaming
nmap <leader>rn <Plug>(coc-rename)
" GoTo code navigation
nmap <silent><nowait> gd <Plug>(coc-definition)
nmap <silent><nowait> gy <Plug>(coc-type-definition)
nmap <silent><nowait> gi <Plug>(coc-implementation)
nmap <silent><nowait> gr <Plug>(coc-references)
" Temporary!!! Remove after CoC update
let storage_file = stdpath('data') . '/coc-localstorage'
let g:coc_node_args = ['--localstorage-file=' . storage_file]