Function: cider-completion--bounds-of-non-string-symbol-at-point

cider-completion--bounds-of-non-string-symbol-at-point is a byte-compiled function defined in cider-completion-context.el.

Signature

(cider-completion--bounds-of-non-string-symbol-at-point)

Documentation

Returns the bounds of the symbol at point, unless it's inside a string.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-completion-context.el
(defun cider-completion--bounds-of-non-string-symbol-at-point ()
  "Returns the bounds of the symbol at point, unless it's inside a string."
  (let ((sap (symbol-at-point)))
    (when (and sap (not (nth 3 (syntax-ppss))))
      (bounds-of-thing-at-point 'symbol))))