mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
LanguageClient-neovim
parent
52bdf5a126
commit
76c71da257
18
Neovim.md
18
Neovim.md
@ -71,10 +71,28 @@ or any other
|
|||||||
### Custom cross references
|
### Custom cross references
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
|
" one-level base
|
||||||
|
nn <silent> xB :call LanguageClient#findLocations({'method':'$ccls/base'})<cr>
|
||||||
|
" bases of up to 3 levels
|
||||||
nn <silent> xb :call LanguageClient#findLocations({'method':'$ccls/inheritanceHierarchy','flat':v:true,'levels':3,'derived':v:false})<cr>
|
nn <silent> xb :call LanguageClient#findLocations({'method':'$ccls/inheritanceHierarchy','flat':v:true,'levels':3,'derived':v:false})<cr>
|
||||||
|
" derived of up to 3 levels
|
||||||
nn <silent> xd :call LanguageClient#findLocations({'method':'$ccls/inheritanceHierarchy','flat':v:true,'levels':3,'derived':v:true})<cr>
|
nn <silent> xd :call LanguageClient#findLocations({'method':'$ccls/inheritanceHierarchy','flat':v:true,'levels':3,'derived':v:true})<cr>
|
||||||
nn <silent> xe :call LanguageClient#findLocations({'method':'$ccls/callers'})<cr>
|
nn <silent> xe :call LanguageClient#findLocations({'method':'$ccls/callers'})<cr>
|
||||||
|
nn <silent> xm :call LanguageClient#findLocations({'method':'$ccls/memberHierarchy','flat':v:true})<cr>
|
||||||
|
nn <silent> xt :call LanguageClient#textDocument_typeDefinition()<cr>
|
||||||
nn <silent> xv :call LanguageClient#findLocations({'method':'$ccls/vars'})<cr>
|
nn <silent> xv :call LanguageClient#findLocations({'method':'$ccls/vars'})<cr>
|
||||||
nn <silent> xV :call LanguageClient#findLocations({'method':'$ccls/vars','kind':1})<cr>
|
nn <silent> xV :call LanguageClient#findLocations({'method':'$ccls/vars','kind':1})<cr>
|
||||||
nn xx x
|
nn xx x
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Bases: base classes/overridden methods/specialized from
|
||||||
|
![$ccls/inheritanceHierarchy flat:t derived:false](https://ptpb.pw/ph3W.jpg)
|
||||||
|
|
||||||
|
Derived
|
||||||
|
![$ccls/inheritanceHierarchy flat:t derived:true](https://ptpb.pw/sSkt.jpg)
|
||||||
|
|
||||||
|
![$ccls/callers](https://ptpb.pw/U0xJ.jpg)
|
||||||
|
|
||||||
|
![$ccls/vars](https://ptpb.pw/1mCm.jpg)
|
||||||
|
|
||||||
|
![$ccls/memberHierarchy flat:t](https://ptpb.pw/FSYc.jpg)
|
||||||
|
Loading…
Reference in New Issue
Block a user