eraserhd / parinfer-rust

A Rust port of parinfer.
ISC License
546 stars 42 forks source link

Certain comments break parinfer #106

Closed knubie closed 3 years ago

knubie commented 3 years ago

Hello, thanks for making this plugin!

I'm not sure if this issue belongs here or in some other more general Parinfer repo, but I've just encountered an issue where a comment seems to break Parinfer (tested on neovim 0.5). If a comment like this is found anywhere in the file:

; foo"

Then Parinfer will stop working.

eraserhd commented 3 years ago

Although this is a bit awkward, this is intentional. See here for reasoning.

Thanks for reporting, though!