Gracjan Polak
Gracjan Polak
So `newline-and-indent` takes previous line indentation and indents at least that amount or more.
Region indentation can be considered unimplemented feature. We do not have that working yet.
@rpglover64: Are you able to submit a unit test in `tests/haskell-indentation-tests.el` that shows the broken behavior?
It is expected that there will be more check styles.
Noted the need of indent-region in #1032. And closing this particular issue because it seems that smartparens has a flag to work around haskell-mode missing feature.
The flag is in smart parens.
Reopening as this does not seem to be solved good enough with #1032 (i.e. I have bad feelings but no proof yet).
Yes, `sp-forward-slurp-sexp` usually bound to C-right calls `indent-region-function` without looking at `sp-no-reindent-after-kill-modes` and messes up the layout.
`smartparens` will also interact poorly even if `haskell-indent-region` is implemented properly. Consider: ``` hs foo = (h $ do abc def ghi) ``` And now use `sp-splice-sexp` M-s-d inside the...
Can you provide a PR? As I understand the point is to rename the buffer and make it unique, right?