Fork me on GitHub
#parinfer
<
2016-12-06
>
Drew Verlee03:12:32

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

shaunlebron04:12:51

thanks @drewverlee! what plugin are you using?

eraserhd21:12:05

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?

chrisoakman21:12:40

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

eraserhd22:12:18

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

shaunlebron22:12:55

parinfer never removes lines

shaunlebron23:12:38

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

shaunlebron23:12:12

i think editors handle them differently

shaunlebron23:12:59

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