Function: cider-start-of-next-sexp

cider-start-of-next-sexp is a byte-compiled function defined in cider-util.el.

Signature

(cider-start-of-next-sexp &optional SKIP)

Documentation

Move to the start of the next sexp.

Skip any non-logical sexps like ^metadata or #reader macros. If SKIP is an integer, also skip that many logical sexps first. Can only error if SKIP is non-nil.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-util.el
(defun cider-start-of-next-sexp (&optional skip)
  "Move to the start of the next sexp.
Skip any non-logical sexps like ^metadata or #reader macros.
If SKIP is an integer, also skip that many logical sexps first.
Can only error if SKIP is non-nil."
  (while (clojure--looking-at-non-logical-sexp)
    (forward-sexp 1))
  (when (and skip (> skip 0))
    (dotimes (_ skip)
      (forward-sexp 1)
      (cider-start-of-next-sexp))))