Variable: yaml-imenu-generic-expression

yaml-imenu-generic-expression is a customizable variable defined in yaml-mode.el.

Value

((nil "^\\(:?[a-zA-Z_][-a-zA-Z0-9_.]*\\):" 1))

Documentation

The imenu regex to parse an outline of the yaml file.

Source Code

;; Defined in /nix/store/fxfawcfn8g3mqnf4q0lmvgvy0vp3nxrx-emacs-packages-deps/share/emacs/site-lisp/elpa/yaml-mode-20260830.2340/yaml-mode.el
(defcustom yaml-imenu-generic-expression
  '((nil  "^\\(:?[a-zA-Z_][-a-zA-Z0-9_.]*\\):"          1))
  "The imenu regex to parse an outline of the yaml file."
  :type 'string
  :group 'yaml)