Skip to content
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

Slash symbol breaks indentation #23

Open
nikita-d opened this issue Mar 28, 2014 · 2 comments
Open

Slash symbol breaks indentation #23

nikita-d opened this issue Mar 28, 2014 · 2 comments

Comments

@nikita-d
Copy link

When a slash operator is encountered on a buffer line, the next line will be indented from first symbol and the indentation of following lines will break:

sub foo {
...
__my $password_exp =  \["= encode(digest(?, 'sha1'), 'hex')", $password . $self->ctx->app->secret];
return $self->find({ login => $username, password => $password_exp }, { key => 'uniq_login-password' });
}

The expected behavior is that the next and following line indented properly.

@choroba
Copy link
Contributor

choroba commented Mar 28, 2014

I usually insert a space between the backslash and the bracket.

@nikita-d
Copy link
Author

That fixes issue, but nevertheless - it should behave correctly both ways, imho.

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

No branches or pull requests

2 participants