mirror of
https://github.com/MaskRay/ccls.git
synced 2025-04-21 08:03:02 +00:00
Add LanguageClient-neovim custom references
parent
d5664acc19
commit
ae5c996b9e
11
Neovim.md
11
Neovim.md
@ -67,3 +67,14 @@ bear gcc x.c -o x
|
|||||||
```
|
```
|
||||||
|
|
||||||
or any other
|
or any other
|
||||||
|
|
||||||
|
### Custom cross references
|
||||||
|
|
||||||
|
```vim
|
||||||
|
nn xb :call LanguageClient#findLocations({'method':'$ccls/inheritanceHierarchy','flat':v:true,'level':3,'derived':v:false})<cr>
|
||||||
|
nn xd :call LanguageClient#findLocations({'method':'$ccls/inheritanceHierarchy','flat':v:true,'level':3,'derived':v:true})<cr>
|
||||||
|
nn xe :call LanguageClient#findLocations({'method':'$ccls/callers'})<cr>
|
||||||
|
nn xv :call LanguageClient#findLocations({'method':'$ccls/vars'})<cr>
|
||||||
|
nn xV :call LanguageClient#findLocations({'method':'$ccls/vars','kind':1})<cr>
|
||||||
|
nn xx x
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user