new lines following line starting with `instance` are indented unnecessarily
michaelficarra opened this issue · 4 comments
michaelficarra commented
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.
raichoo commented
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
michaelficarra commented
Judging from the documentation, this doesn't seem possible. Who designed that awful format?
raichoo commented
VimL is a pain to program in, I really hope that neovim will fix this.
gavocanov commented
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...