Variable: cider--sym-forbidden-1st-chars

cider--sym-forbidden-1st-chars is a variable defined in cider-util.el.

Value

"][\";@\\^`~(){}\\,     \n
0-9:'"

Documentation

Chars that a Clojure symbol or namespace alias cannot start with.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260821.817/cider-util.el
;;; Clojure syntax helpers
;; CIDER-owned copies of a few small clojure-mode internals, so we don't
;; reach into its private (`clojure--…') API - which is unstable across
;; versions and absent from clojure-ts-mode.

(eval-and-compile
  (defconst cider--sym-forbidden-rest-chars "][\";@\\^`~\(\)\{\}\\,\s\t\n\r"
    "Chars that a Clojure symbol or namespace alias cannot contain.")
  (defconst cider--sym-forbidden-1st-chars (concat cider--sym-forbidden-rest-chars "0-9:'")
    "Chars that a Clojure symbol or namespace alias cannot start with.")
  (defconst cider--sym-regexp
    (concat "[^" cider--sym-forbidden-1st-chars "][^" cider--sym-forbidden-rest-chars "]*")
    "A regexp matching a Clojure symbol or namespace alias."))