purescript-contrib/purescript-vim

new lines following line starting with `instance` are indented unnecessarily

michaelficarra opened this issue · 4 comments

Due to this line: https://github.com/raichoo/purescript-vim/blob/68edbb413a131363da3444699dbc8804651501e2/indent/purescript.vim#L51

If I remove ,=in, it is fixed, but that gets rid of indentation after lines ending with in.

Indeed, that is highly annoying. I still have not figured out how to fix that. If you have any idea I'd be grateful for a patch.

Kind regards,
raichoo

Judging from the documentation, this doesn't seem possible. Who designed that awful format?

VimL is a pain to program in, I really hope that neovim will fix this.

I'm leaving one empty line before the instance declaration to cope with that, bit annoying but you get used to it. When done you can remove the empty line...