Function: cider--nrepl-format-code-request-options
cider--nrepl-format-code-request-options is a byte-compiled function
defined in cider-client.el.
Signature
(cider--nrepl-format-code-request-options &optional FORMAT-OPTIONS)
Documentation
Map to merge into requests that require code formatting.
If non-nil, FORMAT-OPTIONS specifies the options cljfmt will use to format
the code. See cider-format-code-options for details.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-client.el
(defun cider--nrepl-format-code-request-options (&optional format-options)
"Map to merge into requests that require code formatting.
If non-nil, FORMAT-OPTIONS specifies the options cljfmt will use to format
the code. See `cider-format-code-options' for details."
(when format-options
(apply #'nrepl-dict
(thread-last format-options
(seq-mapcat
(pcase-lambda (`(,key ,value))
(list key
(if (member key '("indents" "alias-map"))
(thread-last value
(seq-mapcat #'identity)
(apply #'nrepl-dict))
value))))))))