You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like #197 introduced a change in the way comma-separated assignments are indented. I'm not sure if this was intentional or not, but it surprised me (and I prefer the pre-change behavior) so I tracked it down. It's not clear to me what was fixed in #197 but it looks like the solution specifically targets commas? Seems like that regex needs a bit more fiddling. I see that there's test coverage, so I'll open a PR with a failing test and see if I can fix it.
Here's what I'm seeing:
It's also broken in JSON / object literals.
The text was updated successfully, but these errors were encountered:
I use vim-polyglot and so only discovered this plugin today - thank you @HerringtonDarkholme for this fantastic work!
It looks like #197 introduced a change in the way comma-separated assignments are indented.
I'm not sure if this was intentional or not, but it surprised me (and I prefer the pre-change behavior) so I tracked it down. It's not clear to me what was fixed in #197 but it looks like the solution specifically targets commas?Seems like that regex needs a bit more fiddling. I see that there's test coverage, so I'll open a PR with a failing test and see if I can fix it.Here's what I'm seeing:
It's also broken in JSON / object literals.
The text was updated successfully, but these errors were encountered: