summaryrefslogtreecommitdiffstats
path: root/ext/vim
Commit message (Collapse)AuthorAgeFilesLines
* vim: highlight default parameters in definition/classesMarc Fournier2010-07-251-1/+1
|
* vim: match collected resources.Marc Fournier2010-07-251-0/+1
|
* vim: added elsifMarc Fournier2010-07-251-1/+1
|
* vim: Improve function matching when functions contain ')'Todd Zullinger2010-01-301-2/+4
| | | | | | | 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>
* vim: puppetDefArguments is contained by puppetDefineTodd Zullinger2010-01-301-1/+1
| | | | | | | | | | | | | | | 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>
* vim: match regexp language featuresMarc Fournier2009-09-091-1/+4
| | | | Signed-off-by: Marc Fournier <marc.fournier@camptocamp.com>
* vim: Mark puppetFunction values as containedTodd Zullinger2009-08-091-1/+1
| | | | | | | This prevents 'file' from being highlighted as a function when it is used as a resource. Signed-off-by: Todd Zullinger <tmz@pobox.com>
* Fix #2429 - vim: class/define/node should only be followed by whitespaceMarc Fournier2009-07-291-1/+1
| | | | | | Thanks to Charles Duffy for noticing this and providing this patch. Signed-off-by: Marc Fournier <marc.fournier@camptocamp.com>
* vim: several improvements + cleanupMarc Fournier2009-06-101-20/+38
| | | | | | | | | | | | | | | * 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
* Removed extra whitespace from end of linesIan Taylor2009-06-061-3/+3
|
* vim: Remove another mention of 'site' from syntaxTodd Zullinger2009-05-301-1/+1
| | | | | Noticed-by: Marc Fournier <marc.fournier@camptocamp.com> Signed-off-by: Todd Zullinger <tmz@pobox.com>
* vim: Highlight parameters with 'plusignment' operatorTodd Zullinger2009-05-301-2/+2
| | | | Signed-off-by: Todd Zullinger <tmz@pobox.com>
* vim: Highlight strings in single quotesTodd Zullinger2009-05-301-0/+1
| | | | Signed-off-by: Todd Zullinger <tmz@pobox.com>
* vim: Clean up syntax spacingTodd Zullinger2009-05-301-22/+22
| | | | Signed-off-by: Todd Zullinger <tmz@pobox.com>
* Removed site from Puppet VIM syntaxJames Turnbull2009-02-141-1/+1
|
* Fixed #1936 - Added /* */ support to the vim fileJames Turnbull2009-02-111-0/+1
|
* Updating filetype detection for vim, and changingLuke Kanies2007-12-194-9/+4
| | | | the filestructure for vim files. (#900 and #963)
* updating syntax matcher to highlight dollar signs in prototypesluke2006-11-141-2/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1884 980ebf18-57e1-0310-9a29-db15c13687c0
* adding vim syntax stuffluke2006-02-072-0/+96
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@875 980ebf18-57e1-0310-9a29-db15c13687c0