Function: elixir-ts--forward-sexp

elixir-ts--forward-sexp is a byte-compiled function defined in elixir-ts-mode.el.gz.

Signature

(elixir-ts--forward-sexp &optional ARG)

Documentation

Move forward across one balanced expression (sexp).

With ARG, do it many times. Negative ARG means move backward.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/elixir-ts-mode.el.gz
(defun elixir-ts--forward-sexp (&optional arg)
  "Move forward across one balanced expression (sexp).
With ARG, do it many times.  Negative ARG means move backward."
  (or arg (setq arg 1))
  (funcall
   (if (> arg 0) #'treesit-end-of-thing #'treesit-beginning-of-thing)
   (if (eq (treesit-language-at (point)) 'heex)
       heex-ts--sexp-regexp
     elixir-ts--sexp-regexp)
   (abs arg)))