Function: yaml-ts-mode--outline-predicate
yaml-ts-mode--outline-predicate is a byte-compiled function defined in
yaml-ts-mode.el.gz.
Signature
(yaml-ts-mode--outline-predicate NODE)
Documentation
Limit outlines to top-level mappings.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/yaml-ts-mode.el.gz
(defun yaml-ts-mode--outline-predicate (node)
"Limit outlines to top-level mappings."
(when (string-match-p yaml-ts-mode--outline-nodes (treesit-node-type node))
(not (treesit-node-top-level node yaml-ts-mode--outline-nodes))))