mirror of
https://github.com/MaskRay/ccls.git
synced 2025-04-18 14:43:03 +00:00
Add LanguageClient-neovim custom references
parent
d5664acc19
commit
ae5c996b9e
15
Neovim.md
15
Neovim.md
@ -64,6 +64,17 @@ or
|
||||
|
||||
```bash
|
||||
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