Closed narimiran closed 1 month ago
Thanks for reporting this. I can confirm this is a bug; unfortunately, I don't have any free time to look into this.
So, the best I can offer at the moment is a workaround in which escaping the quote works fine.
; a comment with \"
{:ab :cd
:ef :gh}
I understand this could be better, however.
Actually, looking into it slightly more, this is an intentional design of parinfer and, as such won't get fixed. https://github.com/eraserhd/parinfer-rust/issues/106
Actually, looking into it slightly more, this is an intentional design of parinfer and, as such won't get fixed. eraserhd/parinfer-rust#106
The link on that issue doesn't work, but I managed to find a working link: https://github.com/parinfer/parinfer.js/blob/master/doc/code.md#dangerous-quotes
I guess I'll be using the \"
workaround.
Pressing space on the last line correctly produces:
On the other hand, if a comment contains a single
"
character:Pressing space on the last line doesn't move
}
to the correct place: