parinfer

2016-12-06T03:28:32.000005Z

Parinfer is amazing. I didn’t really get it tell i tried it. Now im converted. That is all 🙂

shaunlebron 2016-12-06T04:33:51.000006Z

thanks @drewverlee! what plugin are you using?

eraserhd 2016-12-06T21:44:05.000007Z

Every so often, using nvim-parinfer.js, I get a doubled last line. I suspect that parinfer is returning a shorter output... does that every happen?

chrisoakman 2016-12-06T21:51:40.000008Z

Doubtful that is caused by the main Parinfer library. Could be a bug with nvim-parinfer?

eraserhd 2016-12-06T22:02:18.000010Z

I'm pretty certain of it, if parinfer can return fewer lines than it was given.

shaunlebron 2016-12-06T22:49:55.000011Z

parinfer never removes lines

shaunlebron 2016-12-06T23:38:38.000012Z

idk, i’m still confused about what the standard is for putting a newline character at the end of a file

shaunlebron 2016-12-06T23:39:12.000013Z

i think editors handle them differently

shaunlebron 2016-12-06T23:39:59.000014Z

there could be some work that parinfer has to do, but currently it splits on newline chars, and joins them again at the end