Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 28, 2010
  1. @mfournier @jamtur01

    Fix #4615 - vim highlighting fails on slashes and colons.

    mfournier authored jamtur01 committed
    When a regexp is used in a selector, vim shouldn't choke if more than one slash
    is found on the same line.
    
    This patch also adds support for colons in attribute names.
Commits on Jul 26, 2010
  1. @mfournier @MarkusQ

    vim: highlight default parameters in definition/classes

    mfournier authored MarkusQ committed
  2. @mfournier @MarkusQ

    vim: match collected resources.

    mfournier authored MarkusQ committed
  3. @mfournier @MarkusQ

    vim: added elsif

    mfournier authored MarkusQ committed
Commits on Jan 30, 2010
  1. @tmzullinger @jamtur01

    vim: Improve function matching when functions contain ')'

    tmzullinger authored jamtur01 committed
    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>
  2. @tmzullinger @jamtur01

    vim: puppetDefArguments is contained by puppetDefine

    tmzullinger authored jamtur01 committed
    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>
Commits on Sep 9, 2009
  1. @mfournier @jamtur01

    vim: match regexp language features

    mfournier authored jamtur01 committed
    Signed-off-by: Marc Fournier <marc.fournier@camptocamp.com>
Commits on Aug 9, 2009
  1. @tmzullinger @jamtur01

    vim: Mark puppetFunction values as contained

    tmzullinger authored jamtur01 committed
    This prevents 'file' from being highlighted as a function when it is
    used as a resource.
    
    Signed-off-by: Todd Zullinger <tmz@pobox.com>
Commits on Jul 29, 2009
  1. @mfournier

    Fix #2429 - vim: class/define/node should only be followed by whitespace

    mfournier authored
    Thanks to Charles Duffy for noticing this and providing this patch.
    
    Signed-off-by: Marc Fournier <marc.fournier@camptocamp.com>
Commits on Jun 10, 2009
  1. @mfournier

    vim: several improvements + cleanup

    mfournier authored
     * 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
Commits on Jun 5, 2009
  1. @ibtaylor @jamtur01

    Removed extra whitespace from end of lines

    ibtaylor authored jamtur01 committed
Commits on May 30, 2009
  1. @tmzullinger @jamtur01

    vim: Remove another mention of 'site' from syntax

    tmzullinger authored jamtur01 committed
    Noticed-by: Marc Fournier <marc.fournier@camptocamp.com>
    Signed-off-by: Todd Zullinger <tmz@pobox.com>
  2. @tmzullinger @jamtur01

    vim: Highlight parameters with 'plusignment' operator

    tmzullinger authored jamtur01 committed
    Signed-off-by: Todd Zullinger <tmz@pobox.com>
  3. @tmzullinger @jamtur01

    vim: Highlight strings in single quotes

    tmzullinger authored jamtur01 committed
    Signed-off-by: Todd Zullinger <tmz@pobox.com>
  4. @tmzullinger @jamtur01

    vim: Clean up syntax spacing

    tmzullinger authored jamtur01 committed
    Signed-off-by: Todd Zullinger <tmz@pobox.com>
Commits on Feb 13, 2009
  1. @jamtur01
Commits on Feb 10, 2009
  1. @jamtur01
Commits on Dec 19, 2007
  1. @lak

    Updating filetype detection for vim, and changing

    lak authored
    the filestructure for vim files. (#900 and #963)
Something went wrong with that request. Please try again.