rodjek / vim-puppet

Puppet niceties for your Vim setup
Apache License 2.0
501 stars 137 forks source link

Add support for highlighting the on_failure keyword. #55

Closed markkawika closed 7 years ago

markkawika commented 9 years ago

In an exec resource:

logoutput => on_failure,

The "on_failure" value is a keyword supported by Puppet. It should be highlighted just like the "installed" keyword in this package resource:

enable => installed,

This change adds that.

lelutin commented 7 years ago

upstream documentation is here: https://docs.puppet.com/puppet/latest/type.html#exec-attribute-logoutput

the word should be highlighted as suggested in this pull request.