Function: cider-normalize-cljs-init-options

cider-normalize-cljs-init-options is a byte-compiled function defined in cider.el.

Signature

(cider-normalize-cljs-init-options OPTIONS)

Documentation

Normalize the OPTIONS string used for initializing a ClojureScript REPL.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defun cider-normalize-cljs-init-options (options)
  "Normalize the OPTIONS string used for initializing a ClojureScript REPL."
  (if (or (string-prefix-p "{" options)
          (string-prefix-p "(" options)
          (string-prefix-p "[" options)
          (string-prefix-p ":" options)
          (string-prefix-p "\"" options))
      options
    (concat ":" options)))