Skip to content

Increment and decrement ("++","--") treated as binary operators #60

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

Closed
reynir opened this issue Nov 7, 2012 · 2 comments
Closed

Increment and decrement ("++","--") treated as binary operators #60

reynir opened this issue Nov 7, 2012 · 2 comments

Comments

@reynir
Copy link

reynir commented Nov 7, 2012

Judging from the indent behaviour it seems the increment and decrement operators are treated like binary operators (or a binary operator followed by a unary operator).

For example,

a++
b

becomes

a++
    b

I spent two minutes looking at the code and I believe s:continuation_regex and possibly also s:msl_regex should be altered so they do not match "++" and "--". I do not have a solution.

@bounceme
Copy link
Collaborator

#396

@amadeus
Copy link
Collaborator

amadeus commented Apr 24, 2016

Fixed in develop

@amadeus amadeus closed this as completed Apr 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants