parinfer

dharrigan 2019-06-04T04:21:51.004300Z

Has (comment) been discussed before? In some of my files, I'm starting to put a big (comment ......) block at the end, so I can eval things quickly and try out a few experiments. With parinfer(-rust - for vim) enabled (and set to paren), the closing parentheses wants to always collapse to the end of the comment block, closing in any newlines, so I can't type (comment <cr><cr><cr>....half a dozen more <cr>'s) to give myself space within the comment block to try things out. I was wondering if there perhaps is a way to disable removing the newline spacing and give me a nice big block of space to work in 🙂

➕ 1
2019-06-04T08:52:59.005500Z

Personally, I just put [] at the end of the comment as a sort of "door stop"

👍 1
dharrigan 2019-06-04T09:00:35.005800Z

urgh.

dharrigan 2019-06-04T09:01:41.007100Z

Perhaps one for the parinfer-rust implementor, but in some IDEs you can mark a block as something like // formatter:off and then // formatter:on and anything within that block won't be reformatted

henrik 2019-06-07T13:47:02.000500Z

It's usually useful to have stuff in comment blocks formatted by parinfer though.

dharrigan 2019-06-04T09:02:08.007600Z

could be something like ;; lint:off and ;; lint:on

dharrigan 2019-06-04T09:02:12.007800Z

<shrug>

dharrigan 2019-06-04T09:02:14.008Z

just thinking