On Wed, 8 Jun 2016 12:53:26 -0700 (PDT) Tim Chambers <[email protected]> 
wrote: 

TC> I got inspired by ini-generic-mode today.

    (define-generic-mode inventory-generic-mode
... (add-to-list 'generic-extras-enable-list 'inventory-generic-mode t)

Would you be interested in contributing that to Emacs, in generic-x.el?
If you're not, would it be OK if I reimplemented your example and added
it?

There are a lot more neat customizations that can be done for Ansible
inventory files specifically, besides the generic INI stuff:

* syntax highlighting of host name, port, and vars separately
* show expansions of numeric and alphabetic ranges in an unobtrusive way (e.g. 
eldoc mode)
* syntax check with Flycheck/Flymake

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