rodjek/vim-puppet — pull request #19 by sjahl (2013-05-29 21:21:56+00:00)
Title: Only closing braces/brackets/parens were being hilighted.

Not totally sure that this was the right way to fix it, but I've edited some of the regexes, and it's fixed a problem for me where only the closing braces, brackets, '<<||>>' characters, and parenthesis were being hilighted. Doesn't appear to have broken anything else.

However, with this commit, we lose hilighting on the word 'template' in `source => template()` stanzas, but that regex seemed to be causing problems elsewhere (hilighting parameters in parameterized classes, class names, etc)/ I think having correct hilighting on those is more important that the 'template' function.

If there's anything I can do to improve this or make it nicer, let me know!