Add LanguageClient-neovim custom references

Fangrui Song 2018-08-20 11:04:02 -07:00
parent d5664acc19
commit ae5c996b9e

@ -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
```