Function: neocaml--comment-at-point

neocaml--comment-at-point is a natively compiled function defined in neocaml.el.

Signature

(neocaml--comment-at-point)

Documentation

Return the comment node at or around point, or nil.

Source Code

;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
;;;; Fill paragraph

(defun neocaml--comment-at-point ()
  "Return the comment node at or around point, or nil."
  (treesit-parent-until
   (treesit-node-at (point))
   (lambda (n) (equal (treesit-node-type n) "comment"))
   t))