Skip to content
Browse files

vim: Mark puppetFunction values as contained

This prevents 'file' from being highlighted as a function when it is
used as a resource.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
  • Loading branch information...
1 parent d3a2bbd commit 78c1f1af5f2656b625a710c9f87da013ce9837bb @tmzullinger tmzullinger committed with jamtur01 Aug 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/puppet.vim
View
2 syntax/puppet.vim
@@ -51,7 +51,7 @@ syn match puppetParamDigits "[0-9]\+"
" match 'template' in 'content => template("...")'
syn match puppetParam "\w\+\s*[=+]>\s*\w\+\s*(" contains=puppetFunction,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 keyword puppetFunction sprintf template fail tagged include generate search file tag versioncmp fqdn_rand realize split defined regsubst sha1 inline_template contained
syn match puppetVariable "$\w\+"
syn match puppetVariable "${\w\+}"

0 comments on commit 78c1f1a

Please sign in to comment.
Something went wrong with that request. Please try again.