Signed-off-by: Marc Fournier <marc.fourn...@camptocamp.com>
---
 ext/vim/syntax/puppet.vim |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ext/vim/syntax/puppet.vim b/ext/vim/syntax/puppet.vim
index 4e70335..13e36d3 100644
--- a/ext/vim/syntax/puppet.vim
+++ b/ext/vim/syntax/puppet.vim
@@ -43,6 +43,10 @@ syn keyword puppetParamKeyword  present absent purged latest 
installed running s
 syn keyword puppetParamSpecial  true false undef contained
 syn match   puppetParamDigits   "[0-9]\+"
 
+syn match   puppetParam         "\w\+\s*[=+]>\s*\w\+\s*(" 
contains=puppetFunction,puppetTypeRArrow,puppetParamName
+syn keyword puppetFunction      debug info notice warning err alert emerg crit
+syn keyword puppetFunction      sprintf template fail tagged include generate 
search file tag versioncmp fqdn_rand realize split defined regsubst sha1 
inline_template
+
 syn match   puppetVariable      "$\w\+"
 syn match   puppetVariable      "${\w\+}"
 syn match   puppetParen         "("
@@ -96,6 +100,7 @@ if version >= 508 || !exists("did_puppet_syn_inits")
   HiLink puppetTypeDefault          Type
   HiLink puppetParamName            Identifier
   HiLink puppetArgument             Identifier
+  HiLink puppetFunction             Function
 
   delcommand HiLink
 endif
-- 
1.6.3.1


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to