-
-
Notifications
You must be signed in to change notification settings - Fork 178
Leaderf coc
Yggdroot edited this page Sep 23, 2024
·
1 revision
Leaderf coc
is a thin wrapper of some coc commands:
Command | Action |
---|---|
Leaderf! coc definitions --auto-jump | call CocAction('jumpDefinition') |
Leaderf! coc references --auto-jump | call CocAction('jumpReferences') |
Leaderf! coc references --auto-jump --exclude-declaration | call CocAction('jumpUsed') |
Leaderf! coc declarations --auto-jump | call CocAction('jumpDeclaration') |
Leaderf! coc implementations --auto-jump | call CocAction('jumpImplementation') |
Leaderf! coc typeDefinitions --auto-jump | call CocAction('jumpTypeDefinition') |
https://github.com/neoclide/coc.nvim
g:Lf_CocCommands *g:Lf_CocCommands*
Define a list of commands you may want to use frequently.
The list is as follows: >
let g:Lf_CocCommands = [
\ {"Leaderf! coc definitions --auto-jump": "run CocAction('jumpDefinition')"},
\ {"Leaderf! coc references --auto-jump": "run CocAction('jumpReferences')"},
\ {"Leaderf! coc references --auto-jump --exclude-declaration": "run CocAction('jumpUsed')"},
\ {"Leaderf! coc declarations --auto-jump": "run CocAction('jumpDeclaration')"},
\ {"Leaderf! coc implementations --auto-jump": "run CocAction('jumpImplementation')"},
\ {"Leaderf! coc typeDefinitions --auto-jump": "run CocAction('jumpTypeDefinition')"},
\ ]
<
Open the commands panel using `:Leaderf coc` .