Parinfer is amazing. I didn’t really get it tell i tried it. Now im converted. That is all 🙂
thanks @drewverlee! what plugin are you using?
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?
Doubtful that is caused by the main Parinfer library. Could be a bug with nvim-parinfer?
I'm pretty certain of it, if parinfer can return fewer lines than it was given.
parinfer never removes lines
idk, i’m still confused about what the standard is for putting a newline character at the end of a file
i think editors handle them differently
there could be some work that parinfer has to do, but currently it splits on newline chars, and joins them again at the end