Skip to content

Commit e52f78c

Browse files
committed
[Docs] Document cider-macroexpansion-display-namespaces
This came up in #3080.
1 parent 4ba36bc commit e52f78c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/modules/ROOT/pages/debugging/macroexpansion.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,18 @@ expansion buffer (which is internally using
2323
kbd:[u]
2424
| Undo the last in-place expansion performed in the macroexpansion buffer.
2525
|===
26+
27+
== Configuration
28+
29+
The option `cider-macroexpansion-display-namespaces` controls whether to display
30+
namespaces in the macroexpansion buffer. It can be set to one of the following:
31+
32+
* `qualified` - Vars are fully-qualified in the expansion.
33+
* `none`- Vars are displayed without namespace qualification.
34+
* `tidy`(default) - Vars that are :refer-ed or defined in the current namespace
35+
are displayed with their simple name, non-referred vars from other namespaces
36+
are referred using the alias for that namespace (if defined), other vars are
37+
displayed fully qualified.
38+
39+
The option `cider-macroexpansion-print-metadata` controls whether to print the var metadata
40+
in the macroexpansion buffer. It's set to `nil` by default.

0 commit comments

Comments
 (0)