Function: ansible-add-font-lock

ansible-add-font-lock is an interactive and natively compiled function defined in ansible.el.

Signature

(ansible-add-font-lock)

Documentation

Extend YAML with syntax highlight for ansible playbooks.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/ihs1wd4idvapzygy87ss7ddr2pwcpsxg-emacs-packages-deps/share/emacs/site-lisp/elpa/ansible-20260607.1852/ansible.el
(defun ansible-add-font-lock ()
  "Extend YAML with syntax highlight for ansible playbooks."
  (interactive)
  (font-lock-add-keywords 'nil ansible-playbook-font-lock 'append)
  (font-lock-flush))