Skip to content

Bad indentation for object definition #10

@chrisyip

Description

@chrisyip

Environment: Win7 + gVim 7.3
Script version: 1.4.6

See screenshot:
http://minus.com/mbkxBCRmSn#1

Description
I have the below code but the indentation is wrong:

var _form = this
  , $form = $(this)
  , options = {
        a: 1
      , b: 2
    }
    ;

  $form.bind('submit', function(){});

What I expected:

var _form = this
  , $form = $(this)
  , options = {
        a: 1
      , b: 2
    }
  ;

$form.bind('submit', function(){});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions