dedent icon indicating copy to clipboard operation
dedent copied to clipboard

Over-indent multiline interpolations

Open dralletje opened this issue 6 years ago • 3 comments

I made this PR after needing the same features as #12

It looks at the value in interpolations and adds the indentation to every but the first line (because that one already has the indentation).

I'm not sure if you'd want this in the package, as it assumes a lot more stuff, but on the other hand I can not imagine a scenario where you don't want this 🙃

dralletje avatar Sep 19 '17 18:09 dralletje

Added another commit to make a bit more strict

dralletje avatar Sep 21 '17 10:09 dralletje

cc @dmnd is this mergeable?

rattrayalex-stripe avatar Dec 11 '17 04:12 rattrayalex-stripe

Hi! @rattrayalex-stripe you can use endent to achieve what you want before this pr merged.

ZhouHansen avatar Dec 12 '17 13:12 ZhouHansen

Note: I posted a question in #12 about whether we want this to always be the case, or an opt-in.

JoshuaKGoldberg avatar May 22 '23 02:05 JoshuaKGoldberg

Closing for now to keep the queue small - let's discuss in #12. Cheers!

JoshuaKGoldberg avatar Jul 02 '23 23:07 JoshuaKGoldberg