Permalink
Browse files

vim: highlight default parameters in definition/classes

  • Loading branch information...
mfournier authored and MarkusQ committed Jul 16, 2010
1 parent 65f531b commit f0e41e2ec3839df324c89f10f2340db5798e227c
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/puppet.vim
View
@@ -19,7 +19,7 @@ endif
" match class/definition/node declarations
syn region puppetDefine start="^\s*\(class\|define\|node\)\s" end="{" contains=puppetDefType,puppetDefName,puppetDefArguments,puppetNodeRe
syn keyword puppetDefType class define node inherits contained
-syn region puppetDefArguments start="(" end=")" contained contains=puppetArgument
+syn region puppetDefArguments start="(" end=")" contained contains=puppetArgument,puppetString
syn match puppetArgument "\w\+" contained
syn match puppetArgument "\$\w\+" contained
syn match puppetArgument "'[^']+'" contained

0 comments on commit f0e41e2

Please sign in to comment.