Variable: treesit-defun-skipper

treesit-defun-skipper is a buffer-local variable defined in treesit.el.gz.

Documentation

A function called after tree-sitter navigation moved a step.

It is called with no arguments. By default, this function tries to move to the beginning of a line, either by moving to the empty newline after a defun, or the beginning of a defun.

If the value is nil, no skipping is performed.

Source Code

;; Defined in /usr/src/emacs/lisp/treesit.el.gz
(defvar-local treesit-defun-skipper #'treesit-default-defun-skipper
  "A function called after tree-sitter navigation moved a step.

It is called with no arguments.  By default, this function tries
to move to the beginning of a line, either by moving to the empty
newline after a defun, or the beginning of a defun.

If the value is nil, no skipping is performed.")