On Thu, 16 Jun 2016 19:28:11 +0100 Peter Oliver <
ansibl...@mavit.org.uk> wrote:
PO> On 16 June 2016 at 14:40, Ted Zlatanov <
t...@lifelogs.com> wrote:
>>
>> 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.
PO> I have an Ansible mode for Emacs that uses
PO>
https://github.com/vspinu/polymode to highlight the YAML parts of a
PO> playbook as YAML, and the Jinja2 parts as Jinja2. However, because of
PO>
https://github.com/vspinu/polymode/issues/75 it's barely usable.
Could you post a link to your mode and some examples of the problem for
Ansible specifically? And are you interested in contributing it to
Emacs, either in the core or in GNU ELPA or another package repository?
The specific issue could be a simple parser adjustment, or it could
require switching to SMIE. There's also been discussion of more thorough
support of multiple modes at the C level in Emacs, but that doesn't help
us right now. I think there may be some other ways to help, though.
Ted