| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This fixes #3017 (VIM syntax highlight for regsubst fails) by converting
puppetFunction from a simple keyword to a region.
Signed-off-by: Todd Zullinger <tmz@pobox.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Marc Fournier <marc.fournier@camptocamp.com>
|
|
|
|
|
|
|
| |
This prevents 'file' from being highlighted as a function when it is
used as a resource.
Signed-off-by: Todd Zullinger <tmz@pobox.com>
|
|
|
|
|
|
| |
Thanks to Charles Duffy for noticing this and providing this patch.
Signed-off-by: Marc Fournier <marc.fournier@camptocamp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* added highlighting for different type of keywords:
* if/else
* undef
* puppet function names
* parameters passed to "ensure"
* unquoted digits
* fixed regexps to match resources containing "::", "-" and "_"
* handled escaped variables (variable which don't belong to puppet)
* removed unused definitions and added comments
|
| |
|
|
|
|
|
| |
Noticed-by: Marc Fournier <marc.fournier@camptocamp.com>
Signed-off-by: Todd Zullinger <tmz@pobox.com>
|
|
|
|
| |
Signed-off-by: Todd Zullinger <tmz@pobox.com>
|
|
|
|
| |
Signed-off-by: Todd Zullinger <tmz@pobox.com>
|
|
|
|
| |
Signed-off-by: Todd Zullinger <tmz@pobox.com>
|
| |
|
| |
|
|
|
|
| |
the filestructure for vim files. (#900 and #963)
|
|
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1884 980ebf18-57e1-0310-9a29-db15c13687c0
|
|
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@875 980ebf18-57e1-0310-9a29-db15c13687c0
|