Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Any line beginning with 'default*' or 'case*' wants to decrease indent #33

Closed
danlshields opened this issue Jun 23, 2014 · 1 comment
Closed
Assignees
Labels

Comments

@danlshields
Copy link

Every time a line starts with default (e.g. in JSON) language-javascript wants to decrease the indent, regardless of whether its part of a larger word. The solution is to ensure that there is a word boundary after default and case before decreasing the line indent.

E.g.

{
  defaultSerializer: '-rest'
}

Is changed to

{
defaultSerializer: '-rest'
}
@danlshields danlshields changed the title Any line beginning with 'default' or 'case' wants to decrease indent Any line beginning with 'default*' or 'case*' wants to decrease indent Jun 23, 2014
@izuzak izuzak added the bug label Jun 24, 2014
@probablycorey probablycorey self-assigned this Jun 26, 2014
@probablycorey
Copy link

Closed via #36

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants