(defun treesit-outline-search (&optional bound move backward looking-at)
"Search for the next outline heading in the syntax tree.
-See the descriptions of arguments in `outline-search-function'."
+For BOUND, MOVE, BACKWARD, LOOKING-AT, see the descriptions in
+`outline-search-function'."
(if looking-at
(when-let* ((node (or (treesit-thing-at (pos-eol) treesit-outline-predicate)
(treesit-thing-at (pos-bol) treesit-outline-predicate)))
If `treesit-simple-imenu-settings' is non-nil, set up Imenu.
+If `treesit-outline-predicate' or `treesit-simple-imenu-settings', and
+Outline minor mode settings don't alreay exist, setup Outline minor
+mode.
+
If `sexp', `sentence' are defined in `treesit-thing-settings',
enable tree-sitter navigation commands for them.