diff options
author | Todd Zullinger <tmz@pobox.com> | 2009-12-07 20:47:58 -0500 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2010-01-30 11:02:02 +1100 |
commit | b3c363c547dd7bf8cb54c103c20f688b9944b7da (patch) | |
tree | cd8e20f996feabffea6dbc3d056b312537935549 /lib/puppet | |
parent | f9e05a8062423cf0e4dd6dca2050a8c7d4b2e85d (diff) | |
download | puppet-b3c363c547dd7bf8cb54c103c20f688b9944b7da.tar.gz puppet-b3c363c547dd7bf8cb54c103c20f688b9944b7da.tar.xz puppet-b3c363c547dd7bf8cb54c103c20f688b9944b7da.zip |
vim: puppetDefArguments is contained by puppetDefine
The argument list for a definition must be contained, otherwise it
matches too much text. For example:
define test($arg) {
$foo = regsubst("$name", '(.*)', '\1')
# The parentheses within the above regsubst are matched as part
# of puppetDefArguments and the highlighting after is incorrect.
}
Marking puppetDefArguments as contained by puppetDefine fixes this.
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Diffstat (limited to 'lib/puppet')
0 files changed, 0 insertions, 0 deletions