Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2529

Vim syntax file performs incorrect indent for if.. else..

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • PUP 3.5.1 RC
    • None
    • None
    • None
    • All

    Description

      Support for Vim has been provided here:

      https://github.com/puppetlabs/puppet/tree/master/ext/vim

      With the current syntax file indentation is performed incorrectly for Java-style if.. else.. :

          if $condition {
              $myvar = -1
              } else {
                  $myvar = 0
              }
      

      Many of us don't use C-style if.. else.. so we'd be grateful for a fix.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              KomodoDave N David Brown
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support