Function: neocaml-forward-sexp
neocaml-forward-sexp is a natively compiled function defined in
neocaml.el.
Signature
(neocaml-forward-sexp COUNT)
Documentation
Move forward across COUNT balanced OCaml expressions.
If COUNT is negative, move backward. This function is intended
to be used as forward-sexp-function.
Source Code
;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
(defun neocaml-forward-sexp (count)
"Move forward across COUNT balanced OCaml expressions.
If COUNT is negative, move backward. This function is intended
to be used as `forward-sexp-function'."
(if (< count 0)
(treesit-beginning-of-thing neocaml--block-regex (- count))
(treesit-end-of-thing neocaml--block-regex count)))