Updated lsp mode (markdown)

Fangrui Song 2019-06-03 23:53:00 +08:00
parent d46aafe068
commit d05e4b5150

@ -241,20 +241,20 @@ For the long story, refer to the corresponding [emacs-devel thread](https://list
### Call/member/inheritance Hierarchies || primary template/partial specialization ### Call/member/inheritance Hierarchies || primary template/partial specialization
`M-x ccls-member-hierarchy` `M-x ccls-member-hierarchy`
![$ccls/member hierarchy:true](https://ptpb.pw/iOSt.gif) ![$ccls/member hierarchy:true](http://fars.ee/qurU.jpg)
```elisp ```elisp
(ccls-call-hierarchy nil) ; caller hierarchy (ccls-call-hierarchy nil) ; caller hierarchy
(ccls-call-hierarchy t) ; callee hierarchy (ccls-call-hierarchy t) ; callee hierarchy
``` ```
![$ccls/call](https://ptpb.pw/Dv8K.gif) ![$ccls/call](http://fars.ee/aP8U.jpg)
```elisp ```elisp
(ccls-inheritance-hierarchy nil) ; base hierarchy (ccls-inheritance-hierarchy nil) ; base hierarchy
(ccls-inheritance-hierarchy t) ; derived hierarchy (ccls-inheritance-hierarchy t) ; derived hierarchy
``` ```
![$ccls/inheritance hierarchy:true](https://ptpb.pw/JkyT.gif) ![$ccls/inheritance hierarchy:true](http://fars.ee/5pQO.jpg)
Side notes: `ccls-inheritance-hierarchy` also works fine with jumping between primary template and partial specialization. Side notes: `ccls-inheritance-hierarchy` also works fine with jumping between primary template and partial specialization.
### Code lens ### Code lens