Skip to content

Commit ebe16fc

Browse files
authored
Update call hierarchy documentation (#4324)
1 parent fb88cc6 commit ebe16fc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/tutorials/clojure-guide.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,10 @@ uses it to show the reference count of a function/variable. They are enabled by
191191

192192
### Call hierarchy
193193

194-
This feature returns the call hierarchy of a function/method.
195-
As of now, `clojure-lsp` only supports returning the incoming-call hierarchy.
194+
With [lsp-treemacs](https://github.com/emacs-lsp/lsp-treemacs), installed, `lsp-treemacs-call-hierarchy` returns the incoming call hierarchy of a function/method by default and the outgoing hierarchy with the `C-u` prefix argument.
196195

197196
![incoming-call hierarchy](images/clojure-call-hierarchy.png "incoming-call hierarchy")
198197

199-
It uses [lsp-treemacs](https://github.com/emacs-lsp/lsp-treemacs), which you should install to use this feature.
200-
201198
### Formatting
202199

203200
For LSP formatting, `clojure-lsp` use [cljfmt](https://github.com/weavejester/cljfmt) with support for all known `cljfmt`

0 commit comments

Comments
 (0)