Variable: yaml-font-lock-keywords

yaml-font-lock-keywords is a variable defined in yaml-mode.el.

Value

((yaml-font-lock-block-literals 0 font-lock-string-face)
 ("\\(?:^\\|\\(?::\\|-\\|,\\|{\\|\\[\\) +\\) *\\(-\\.\\(?:I\\(?:NF\\|nf\\)\\|inf\\)\\|\\.\\(?:I\\(?:NF\\|nf\\)\\|N\\(?:[Aa]N\\)\\|inf\\|nan\\)\\|F\\(?:ALSE\\|alse\\)\\|N\\(?:ULL\\|ull\\|[Oo]\\)\\|O\\(?:FF\\|ff\\|[Nn]\\)\\|T\\(?:RUE\\|rue\\)\\|Y\\(?:ES\\|es\\)\\|false\\|n\\(?:o\\|ull\\)\\|o\\(?:ff\\|n\\)\\|true\\|yes\\|[NYny~]\\)\\_>"
  1 font-lock-constant-face)
 ("!!?[^ \n]+" 0 font-lock-type-face)
 ("[&*][a-zA-Z0-9_-]+" 0 font-lock-function-name-face)
 ("\\(?:^\\(?:--- \\)?\\|{\\|\\(?:[-,] +\\)+\\) *\\(?:!!?[^ \n]+ +\\)?\\(\\(?:[^-:,#!\n{\\[ ]\\|[^#!\n{\\[ ]\\S-\\)[^#\n]*?\\) *:\\(?: +\\|$\\)"
  1 font-lock-variable-name-face)
 ("^\\(?:---\\|[.][.][.]\\)" 0 font-lock-comment-face)
 ("^\\(?:--- \\)? *%\\(\\w+\\)" 1 font-lock-builtin-face)
 ("^[	]+" 0 'yaml-tab-face t))

Documentation

Additional expressions to highlight in YAML mode.

Source Code

;; Defined in /nix/store/fxfawcfn8g3mqnf4q0lmvgvy0vp3nxrx-emacs-packages-deps/share/emacs/site-lisp/elpa/yaml-mode-20260830.2340/yaml-mode.el
;; Font-lock support

(defvar yaml-font-lock-keywords
  `((yaml-font-lock-block-literals 0 font-lock-string-face)
    (,yaml-constant-scalars-re . (1 font-lock-constant-face))
    (,yaml-tag-re . (0 font-lock-type-face))
    (,yaml-node-anchor-alias-re . (0 font-lock-function-name-face))
    (,yaml-hash-key-re . (1 font-lock-variable-name-face))
    (,yaml-document-delimiter-re . (0 font-lock-comment-face))
    (,yaml-directive-re . (1 font-lock-builtin-face))
    ("^[\t]+" 0 'yaml-tab-face t))
  "Additional expressions to highlight in YAML mode.")