summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorMarc Fournier <marc.fournier@camptocamp.com>2010-07-16 08:22:30 +0200
committerMarkus Roberts <Markus@reality.com>2010-07-25 22:24:40 -0700
commitac3a0d2d6c10f4a1616865d2c2e69b68a4bbcb3e (patch)
treefe621d33793ab6fec101981b727ffdc3b54c2a02 /ext
parentbe2141a6e37fabe78b57be699f8ae9d84acdebcf (diff)
downloadpuppet-ac3a0d2d6c10f4a1616865d2c2e69b68a4bbcb3e.tar.gz
puppet-ac3a0d2d6c10f4a1616865d2c2e69b68a4bbcb3e.tar.xz
puppet-ac3a0d2d6c10f4a1616865d2c2e69b68a4bbcb3e.zip
vim: highlight default parameters in definition/classes
Diffstat (limited to 'ext')
-rw-r--r--ext/vim/syntax/puppet.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/vim/syntax/puppet.vim b/ext/vim/syntax/puppet.vim
index b24cbf623..0025e2d1c 100644
--- a/ext/vim/syntax/puppet.vim
+++ b/ext/vim/syntax/puppet.vim
@@ -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