You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add actual indent spec used in indent spec examples #2543
On https://cider.readthedocs.io/en/latest/indent_spec/, I couldn't see the indent specs that were used in the Special Arguments and Internal indentation sections. Would it be possible to add them, so people can see how the spec influences the formatted code examples? Apologies if I've misinterpreted the docs here.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
The docs have been substantially rewritten since this was filed. The current indent_spec.adoc shows the specs inline in both sections:
"Special Arguments" section: "defrecord has [:block 2] (two special arguments)"
"Internal Indentation" section: "the full spec [[:block 2] [:inner 1]] gives defrecord both special argument handling and correct method body indentation."
Closing as resolved. Please reopen if there's a specific page or section where the spec is still missing.
Activity
stale commentedon May 8, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
bbatsov commentedon May 11, 2019
Yeah, we should certainly add them. //cc @Malabarba
Malabarba commentedon May 15, 2019
Those sections are using
defrecordas an example, whose indent spec is already displayed higher up the same page ([2 :form :form [1]]).bbatsov commentedon May 3, 2026
The docs have been substantially rewritten since this was filed. The current
indent_spec.adocshows the specs inline in both sections:defrecordhas[:block 2](two special arguments)"[[:block 2] [:inner 1]]gives defrecord both special argument handling and correct method body indentation."Closing as resolved. Please reopen if there's a specific page or section where the spec is still missing.