On Wed, 15 Jun 2016 10:14:22 -0700 (PDT) Tim Chambers <[email protected]> 
wrote: 

TC> Thanks for commit 299f194 
TC> <http://lists.gnu.org/archive/html/emacs-diffs/2016-06/msg00115.html>, Ted!

For anyone interested, here's how you could add this mode for your
particular inventory files in a way that fails gracefully on older
Emacsen without the new ansible-inventory-generic-mode:

    (when (fboundp 'ansible-inventory-generic-mode)
      (setq auto-mode-alist
            (append '(("ansible/hosts\\'" . ansible-inventory-generic-mode)
                      )
                    auto-mode-alist)))

This feature will be in 25.2 but not the upcoming 25.1, which is in a
feature freeze.

If anyone has suggestions on improving the syntax highlighting or
syntax-checking for Ansible inventory files or Ansible playbooks, please
let us know. I'll be glad to help write the Emacs Lisp needed and get
the code comitted.

Thanks
Ted

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to