Skip to content

Don't keep adding an extra indent for each continuation line #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2011
Merged

Don't keep adding an extra indent for each continuation line #15

merged 1 commit into from
May 16, 2011

Conversation

kwellman
Copy link
Contributor

Currently, indentation occurs as follows:

var s = "This" +
    "is" +
        "some" +
            "text"

Each line gets an extra indent added.

The following makes more sense:

var s = "This" +
    "is" +
    "some" +
    "text"

This pull request fixes this. Please have a look at it.

Thanks

pangloss pushed a commit that referenced this pull request May 16, 2011
Don't keep adding an extra indent for each continuation line
@pangloss pangloss merged commit 569e64c into pangloss:master May 16, 2011
aronhoff pushed a commit to aronhoff/vim-javascript that referenced this pull request Sep 1, 2015
Remove code folding by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants