Function: elixir-ts--argument-indent-anchor

elixir-ts--argument-indent-anchor is a byte-compiled function defined in elixir-ts-mode.el.gz.

Signature

(elixir-ts--argument-indent-anchor NODE PARENT &rest _)

Documentation

Return the argument anchor position for NODE and PARENT.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/elixir-ts-mode.el.gz
(defun elixir-ts--argument-indent-anchor (node parent &rest _)
  "Return the argument anchor position for NODE and PARENT."
  (let ((first-sibling (treesit-node-child parent 0 t)))
    (if (and first-sibling (not (treesit-node-eq first-sibling node)))
        (treesit-node-start first-sibling)
      (elixir-ts--parent-expression-start node parent))))