Skip to content

Object as function parameter with 2 spaces indentation #22

@fedemp

Description

@fedemp

Indentation breaks when using 2 spaces for indentation.

To reproduce, first set this options:
:set tabstop=2 | set shiftwidth=2 | set softtabstop=2 | set expandtab

Then try this code and you should see that is indented as follows:

var foo = bar({
  a: 0,
    b:1
});

Setting indentation to 4 spaces fixes this.

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